How to use conditional logic in Regal Forms

Updated September 26, 2026

Conditional logic in Regal Forms lets you show or hide a field, notification or confirmation according to submitted answers. Build one or more rules in the Form Builder to control when each item applies.

Set up conditional logic#

  1. Open the form in Regal Forms > Form Builder.
  2. Select the field, notification or confirmation that should depend on an answer.
  3. In its settings, enable Conditional logic.
  4. Choose whether to run or show the item when the rules match, or to run or show it when they do not match.
  5. Add a rule group, then select the answer field, comparison and value for each rule.
  6. Save the form and check both the matching and non-matching paths on the frontend.

For a field condition, the field being controlled cannot be used as its own answer source. HTML fields are not offered as rule sources.

Choose how rules are combined#

Each rule group can match all rules (AND) or any rule (OR). The Group matching setting combines the groups: choose every group (AND) to require all groups, or any group (OR) to require at least one.

For example, to show a field only when a visitor selects Business and enters a UK country value, place both rules in one group and choose All rules. To show it when either condition is true, choose Any rule. To combine separate alternatives, create a group for each alternative and choose Any group.

Available comparisons#

  • is and is not compare the answer with the value you enter.
  • contains and does not contain look for text within the answer without matching letter case.
  • is empty and is not empty check whether the answer has a value.
  • is greater than and is less than compare numeric answers.

For dropdown, radio and checkbox fields, a rule matches either the visible choice label or its saved choice value. The label is what visitors see. The saved value can differ, particularly when a label has been changed, because stable saved values preserve earlier entries and conditions. Both are available in the choice settings.

Apply conditions to notifications and confirmations#

Notifications and confirmations have their own Conditional logic controls. Select the notification or confirmation, enable its conditions, and add rules using the same group and comparison options. This lets a form send or display different outcomes for different submitted answers.

Troubleshoot a rule that does not match#

  • Check the selected answer field and comparison operator.
  • For a choice field, enter either the visible label or the saved choice value. Confirm the label and value in the source field settings.
  • For a numeric comparison, confirm the submitted answer is numeric.
  • Check whether the group uses all rules or any rule, and whether groups are combined with AND or OR.
  • Check that the intended action is selected and that the form has been saved.

When no rule groups are present, conditional logic does not restrict the item. The editor limits saved conditions to 10 groups with up to 20 rules per group.

Keep conditional forms accessible#

Give every field a clear label and keep instructions close to the field. Conditional visibility should not be the only way a visitor can understand what information is needed. The W3C form labels tutorial explains how to provide clear, programmatic labels.

Check field visibility on the live form#

For a show rule, the dependent field appears when its rules match and hides when they do not. Change the answer in the source field to check both states. Multi-page navigation preserves conditional visibility, and fields hidden by their rules are excluded from validation and submission.

If a published form does not reflect a saved rule, confirm the selected source field and its choice label or saved value, save the form again, then refresh the page. If a site or browser cache is enabled, clear it so the latest form scripts and styles load.

Was this article helpful?

Still need help? Contact support