Skip to content

Conditional Logic

Pro feature

Conditional logic is part of Formatrica Pro.

Show or hide a field based on what the visitor has entered in other fields. The rules are evaluated on the front end as the visitor types, and again on the server so hidden fields never block a valid submission.

Set up a rule

  1. Open a field in the builder drawer.
  2. Enable Conditional logic.
  3. Choose the actionShow this field, or Hide it, when the conditions are met.
  4. Choose whether all or any of the rules must match.
  5. Add one or more rules: pick a controlling field, an operator, and a value.

Operators

OperatorMatches when the controlling field…
equalsis exactly the value
does not equalis anything other than the value
containsincludes the value
does not containdoesn't include the value
greater thanis numerically greater than the value
less thanis numerically less than the value
is emptyhas no value
is not emptyhas any value

How it works

  • Show displays the field only when the condition is met; Hide does the opposite.
  • Match all requires every rule to be true; Match any requires at least one.
  • Rules reference the controlling field by a stable internal key, so renaming a field never breaks its logic.
  • A field hidden by logic is not required and is excluded from validation, so a conditionally-hidden required field can never silently block the form.

Behaviour on downgrade

Authored logic keeps evaluating after a licence lapse (so a conditionally-hidden required field can't lock a form) — only creating new logic is gated. In the Free edition every field is simply shown.

Test it

  • Preview the form and confirm the target field appears/disappears as you change the controlling field.
  • Submit with the field hidden and confirm the form is accepted without complaining about it.