Conditional Logic Pro

Show, hide, or modify fields dynamically based on user input. Create smarter, adaptive forms.

How It Works

Conditional logic lets you define rules that control field visibility. When a user fills out the form, fields appear or hide in real-time based on their answers — no page reload required.

Setting Up a Rule

1

Select the Target Field

Click on the field you want to show or hide conditionally. In the block inspector, open the Conditional Logic Pro panel.

2

Enable Conditional Logic

Toggle on Enable Conditional Logic. Choose the action:

  • Show this field if... — field is hidden by default, shown when conditions are met
  • Hide this field if... — field is visible by default, hidden when conditions are met
3

Define Conditions

Add one or more conditions. Each condition has three parts:

  • Field — the field whose value to check
  • Operator — how to compare the value
  • Value — the value to compare against
4

Set Match Mode

When you have multiple conditions, choose how they combine:

  • All conditions (AND) — every condition must be true
  • Any condition (OR) — at least one condition must be true
Conditional Logic panel in the block inspector with rules configuration

Available Operators

Giraforms Pro supports 10 comparison operators:

OperatorDescriptionExample
equalsExact matchCountry equals "France"
not equalsDoes not matchStatus not equals "Student"
containsValue includes the textMessage contains "urgent"
does not containValue excludes the textEmail does not contain "spam"
starts withValue begins withPhone starts with "+33"
ends withValue ends withEmail ends with ".edu"
is emptyField has no valueCompany is empty
is not emptyField has a valuePhone is not empty
greater thanNumeric comparisonAge greater than 18
less thanNumeric comparisonQuantity less than 100

Examples

Show a field based on a dropdown

Example: "Other" text field

Show a text field labeled "Please specify" only when the user selects "Other" in a dropdown.

Rule: Show "Please specify" field if "Category" equals "Other"

Show fields based on a checkbox

Example: Newsletter preferences

Show a "Preferred frequency" radio group only when the "Subscribe to newsletter" checkbox is checked.

Rule: Show "Preferred frequency" if "Subscribe to newsletter" is not empty

Multiple conditions

Example: Discount code for qualifying orders

Show a "Discount code" field only when the order total exceeds 100 AND the user is in France.

Rule (AND):

Tips & Best Practices

Tip: Hidden fields are not submitted. If a field is hidden by conditional logic when the form is submitted, its value is not included in the submission data.
Note: Conditional logic is evaluated on the front-end in real-time. Make sure your form works correctly even with JavaScript disabled by not hiding critical required fields.

Build smarter forms

Conditional logic with 10 operators, AND/OR mode, and real-time evaluation. Available with Giraforms Pro.

Get Giraforms Pro