GenZformHelp Center
FeaturesLogic & Calculations

Conditional Logic

Learn how to use conditional logic in GenZform to show or hide fields based on user answers.

Conditional logic (also called branching or skip logic) lets you show or hide form fields based on previous answers. This creates dynamic forms that adapt to each respondent's input.

When to Use Conditional Logic

Conditional logic is perfect for:

  • Follow-up questions that only apply to certain answers
  • Skipping irrelevant sections
  • Showing different questions to different user types
  • Creating personalized form experiences
  • Reducing form length by hiding irrelevant fields

Well-designed conditional logic makes forms feel shorter and more relevant, improving completion rates.

How to Add Conditional Logic

Ask the AI in the chat panel:

Example prompts:

  • "Show the 'Other' text field only when 'Other' is selected"
  • "If user selects 'Yes', show follow-up questions"
  • "Hide the business section if user type is 'Individual'"
  • "Skip to the payment section if user chooses 'Buy Now'"

How It Works

Conditional logic follows an "if-then" pattern:

IF [field] [condition] [value]
THEN [show/hide] [field(s)]

Common Conditions

ConditionExample
equalsIf country equals "United States"
not equalsIf subscription is not "Free"
containsIf interests contain "Marketing"
is emptyIf phone number is empty
is not emptyIf email is not empty
greater thanIf age is greater than 18
less thanIf budget is less than 1000

Examples

Show "Other" Text Field

"When user selects 'Other' in the dropdown, show a text field to specify"

Follow-up Questions

"If user answers 'Yes' to 'Do you have experience?', show the years of experience field"

User Type Branching

"If user type is 'Business', show company name and tax ID fields"
"If user type is 'Individual', hide those fields"

Skip Sections

"If user selects 'Skip consultation', hide the scheduling section"

Multiple Conditions

You can combine conditions with AND/OR logic:

"Show discount field if plan is 'Pro' AND user is 'New Customer'"
"Show special offer if country is 'USA' OR country is 'Canada'"

Frequently Asked Questions

Can I have multiple conditions?

Yes! You can combine conditions with AND (all must be true) or OR (any can be true).

Can I show different pages based on answers?

Yes! Conditional logic works with multi-page forms: "If budget is over $10,000, skip to enterprise options page."

Are hidden fields submitted?

Fields hidden by conditional logic are not included in the submission data—only visible fields are submitted.


On this page