Form builder with conditional logic

Show respondents only what you need from them and make form-filling a quick and customized experience with the help of conditional logic in Zoho Forms. Using field rules, display only relevant questions to your respondents based on answers they've provided in the preceding fields while automatically hiding fields that may be irrelevant to them.

Try now

How to add conditional logic to your form

Adding conditional logic is simple with Zoho Forms’ intuitive form generator. Follow these steps to build smarter, more dynamic forms:

1. Create a new form: Start from scratch or choose a ready-made template that suits your use case.

2. Add your form fields: Use the drag-and-drop builder to add fields from the left pane to your form. Arrange them in the order you want.

3. Go to the Rules tab: Once your form fields are in place, switch to the Rules tab in the form builder.

4. Set up your logic:

  • Field Rules: Show or hide specific fields based on answers.
  • Choice-Based Field Rules: Display choices in a field based on the respondents selection in another choice-based field.
  • Page Rules: Show or skip pages in multi-page forms based on responses.
  • Form Rules: Redirect respondents to URLs or send custom thank-you pages based on conditions.

    Deny Submissions: Set conditions to block unwanted submissions automatically.

    5. Test your flow: Preview your form to make sure the rules work exactly as you expect.

    6. Publish securely: When you’re ready, share your form link securely with your audience and collect responses confidently.

Show the fields that matter

Pay attention to minute details and make your form even more responsive to every individual's needs by configuring rules for form fields in your form builder. Field rules let you give respondents a personalized experience by skipping irrelevant questions based on their previous answers. With this, you can eliminate the chances of your respondents tiring halfway through your forms and abandoning them.

Configure rules for an intuitive form

Easily configure rules for an intuitive form

It's easy to set up rules with our user-friendly rules builder. You can set up rules based on conditional logic to create a truly intuitive form. Define conditions with just a few clicks, without writing any code or creating flowcharts. Configure multiple combinations of these rules that the form automatically executes, providing a personalized form-filling experience for every respondent.

Flip forward to relevant pages

When dealing with multi-page forms, you can set up page rules so respondents can avoid the pages that don't concern them. Configure page rules to skip forward to a particular page in your form based on conditions met in the respondent's answers or choices on a previous page.

Manage form submissions with conditional submission denial

Streamline your form submission process by implementing conditional denial rules tailored to your specific criteria. Avoid the hassle of sorting through irrelevant submissions by automatically rejecting entries that don't meet your conditions. Furthermore, enhance user experience by providing clear denial messages to respondents, explaining why their submission cannot be accepted.

Conditional logic form examples 

Here are a few practical ways to use conditional logic in your online forms:

  • Event Registration: Show additional fields for meal preferences, travel details, or workshop choices only if attendees select them. See how.

  • Job Application Forms: Display extra sections for portfolio links, certifications, or work samples based on the position applied for. Learn more.

  • Order Forms: Reveal shipping address, delivery instructions, or gift wrapping options only if the customer chooses home delivery. Explore example.

  • Office Supplies Request: Show relevant item details or approval sections only when an employee selects specific supplies. Read how

Frequently Asked Questions

A conditional logic form uses rules to dynamically show or hide fields, pages, or post submission actions based on a respondent’s input. This makes forms more relevant, shorter, and easier to complete.

Conditional logic reduces clutter and helps respondents see only the questions that matter to them. This improves the user experience and increases form completion rates.

In an online form builder like Zoho Forms, you can create simple if/then rules to control what your respondents see next. For example, if a user chooses “Yes” for “Do you need accommodation?”, you can automatically display additional fields to collect their room preferences and check-in details.

The most common ways to use conditional logic in forms include:

  • Field Rules: Show or hide specific fields based on a respondent’s answers.

  • Choice-Based Field Rules: Dynamically display or hide choices in choice fields based on selections in other fields.

  • Page Rules: Skip pages or direct users to different pages depending on their input.

  • Form Rules: Define what happens after submission, such as sending custom emails or redirecting to specific URLs.

  • Deny Submissions: Block form submissions automatically if certain conditions are met.

From contact forms and application forms to event registrations and reviews, conditional logic is used wherever you want to personalize the user journey and collect precise information.

Break long forms into multi-step forms and use page rules to guide users down different paths based on their choices. This makes complex forms less overwhelming and boosts completion rates.