Conditional Logic

Require rules

Require rules let you make a field mandatory only when a specific condition is true. This is separate from the static Required toggle in field settings.

When to use require rules

Use require rules when the necessity of a field depends on context. Examples:

  • "Company name" is required only if "Account type" equals "Business"
  • "LinkedIn URL" is required only if "Role" contains "Sales"
  • "Referral code" is required only if "How did you hear about us?" equals "Referral"

How to add a require rule

  1. Click the field you want to make conditionally required.
  2. Open the Conditional logic tab.
  3. Under Require this field when, click Add condition.
  4. Set up the condition the same way as a show/hide rule.

When the condition is true, the field behaves as if it has Required toggled on — it shows a red asterisk and the form cannot be submitted without a value.

Stacking with show/hide rules

A field can have both show/hide and require rules simultaneously. A common pattern:

  1. Show the field conditionally (e.g. show "Company name" when "Account type" = "Business").
  2. Require the field under the same condition.

This ensures the field only appears when it is relevant, and cannot be skipped when it does.

Server-side enforcement

Require rules are evaluated server-side on every submission. Even if a respondent manipulates the browser to bypass client-side validation, the server will reject the submission if a conditionally required field is missing.