Jotform Conditional Logic Complete Guide to Smart Forms
Jotform conditional logic lets you show or hide fields, require fields, skip pages, change email notifications, and run calculations — all based on what respondents enter. It uses an IF/THEN rule builder accessible in any field's Conditions panel. Conditional logic is available on all Jotform plans including free.
What Is Conditional Logic in Jotform
Jotform conditional logic (also called IF/THEN rules or show/hide logic) lets your form dynamically respond to user input. Instead of showing all questions to all users, you can:
- Show a field only when a specific answer is selected
- Hide fields that aren't relevant based on earlier answers
- Make fields required only when certain conditions are met
- Jump respondents to different form pages based on their path
- Run calculations and display results
- Trigger different email notifications based on responses
How to Set Up Conditional Logic
- Open your form in Form Builder
- Click the field you want to control (the THEN field — the one that shows/hides)
- Click the Conditions button (wand/bolt icon) in the field toolbar
- Click "Add New Condition"
- Set IF: Choose the trigger field and the value/condition (equals, contains, greater than, etc.)
- Set THEN: Choose the action (Show Field, Hide Field, Require Field, Skip Page, Calculate, Change Email)
- Add additional AND/OR conditions if needed
- Save the form
Show and Hide Fields
The most common use of Jotform conditional logic is showing or hiding fields. Example:
- IF "Are you a returning customer?" equals "Yes" → THEN Show "Previous Order Number" field
- IF "Employment Status" equals "Employed" → THEN Show "Employer Name" and "Job Title" fields
- IF "Payment Method" equals "Credit Card" → THEN Show credit card fields
You can set the form's default state to "hide all" and show fields progressively, or default to "show all" and hide irrelevant fields.
Conditional Logic Calculations
Jotform's calculation action enables arithmetic operations on form field values:
- Add numeric fields together (e.g., order totals)
- Multiply quantity × price
- Subtract values (e.g., discounts)
- Calculate percentages
- Display a score based on multiple answers
Calculation fields update in real-time as users fill in the form, making them useful for price estimators, BMI calculators, quiz scoring, and order summaries.
Page Skipping Logic
For multi-page forms, Jotform branching logic allows respondents to skip to different pages based on answers. Example:
- IF "Are you applying for individual or business?" equals "Individual" → skip to Page 3 (individual application)
- IF "Are you applying for individual or business?" equals "Business" → skip to Page 4 (business application)
Common Conditional Logic Examples
| Use Case | IF Condition | THEN Action |
|---|---|---|
| Healthcare intake | Has diabetes = Yes | Show diabetes medication fields |
| Job application | Years experience ≥ 5 | Show senior role questions |
| Order form | Quantity > 10 | Show bulk discount field |
| Survey branching | Role = Manager | Skip to management questions page |
| Price calculator | Qty × Unit Price | Calculate and show Total |