Advanced Field Rules | Zoho Forms - User Guide

Advanced Field Rules

Overview

With Advanced Field Rules, you can configure rules with a combination of AND/OR connectors between multiple condition groups to show or hide fields based on the input of respondents.

Let's look at Advanced Rules with some simple examples.

Order Form

If you have an Order Form where you wish to provide discounts based on certain conditions such as:
If the ( Date of Order is between 20 July 2022 and 30 July 2022  AND Number of items  is  greater than  4 ) OR Coupon Code is SALE20), THEN the Discount Applied field is displayed. 

Example 1

Job Application Form

If you have a Job Application Form, and you wish to take in the resumes of only candidates with prior work experience:
If ( Year of graduation  is Not Empty)  AND ( Currently Employed  is  Yes  OR Prior Work Experience  is Greater than 0), THEN display the Upload Resume field.

Example 2

Covid 19 Screening Form

If you have a Covid Screening Form where you wish to collect relevant patient details based on the health conditions selected such as:

Example 3



Configuring Advanced Field Rules

To configure a combination of rules with AND/OR connectors together,
  1. In your form builder, navigate to Rules Field Rules.
  2. Click Configure Now  to configure a new rule.
  3. By default, the rule configuration in the New Rule  pop-up will be in the Basic Field Rule format. To switch to Advanced Rules, click the Switch to Advanced Rules option in the top-right corner (You will find this option in the New Rule  pop-up if this is your first Field Rule after clicking Configure Now ).

    Switch to Advanced Rules

    When you switch to Advanced Rules, all of the Field Rules that you will configure for your form will be in Advanced Rule format.  Learn more about switching from basic to advanced rules.
  4. In the If section, define your conditions by choosing your form fields and the criterion they must satisfy. To add more than one condition, click theicon. You can use the AND/ OR connectors to connect your conditions together. You can switch between the connector as required by clicking them.
  5. Click +Add Sub-group / +Add group to define more conditions with ANDOR  connectors to suit your logic.
    For example: If Coupon Code is SALE20  OR  (Date of Order   is between 20 July 2022  and 30 July 2022  AND Number of items is greater than  4 ):

    Defining Conditions

  6. You can see a summary of the logic you used to build the criteria under Rule Expression.

    Rule Expression

  7. In the  Then section, choose to  Show/Hide  fields or Grouped Choices in your form when your conditions are satisfied. Click the icon to define more than one action.

    Define the Actions in the Then section

  8. Once you have configured the rule(s), click Add to save and view the rule summary.
    Rule Summary

  9. To add more rules, click  in the top right corner. 
  10. To filter rules, click the filter icon in the top-right corner. 
Note
  1. A condition field should come prior to the Action field in the form builder for the rule to work.
  2. Once you choose a particular action (Show/Hide) for a field, you will have to continue using the same action on that field in any rule elsewhere. For example, if you choose to Hide the Phone  field, you must use the Hide action to use the  Phone  field elsewhere in the Then section.
  3. You can add only up to 5 groups within a group.



  4. You can add only up to 20 conditions within a group in a rule.
  5. Subform fields cannot be used to configure the conditions/actions of the Field Rules.
  6. Advanced Rules are available only in our paid plans.

When a Formula field is used in Advanced Rules

If a Formula  field is used in the rules, the field(s) involved in the formula must be placed prior to the Formula field in the form.
For example, if you are calculating the Total Cost of a product after applying discount: 

Formula field

Here, the fields involved in the formula of Total Cost are Cost and Discount Applied. These 2 fields must be placed prior to the Total Cost field in the form as shown.

Position of fields involved in Formula field

Info Rules are case-sensitive which means the conditions trigger actions only when the case of the text in the defined condition matches the case of the respondent input. Check out an example to understand this better.


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Intake FormsLegalMobile App
                              Form DesignerHRMobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsEncrypted Forms

                              Secure Forms

                              WCAG

                                      Create. Review. Publish.

                                      Write, edit, collaborate on, and publish documents to different content management platforms.

                                      Get Started Now






                                                        You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                            Manage your brands on social media

                                                              Use cases

                                                              Make the most of Zoho Desk with the use cases.

                                                               
                                                                

                                                              eBooks

                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                               
                                                                

                                                              Videos

                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                               
                                                                

                                                              Webinar

                                                              Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                               
                                                                
                                                              • Desk Community Learning Series


                                                              • Meetups


                                                              • Ask the Experts


                                                              • Kbase


                                                              • Resources


                                                              • Glossary


                                                              • Desk Marketplace


                                                              • MVP Corner

                                                                Zoho Sheet Resources

                                                                 

                                                                    Zoho Forms Resources


                                                                      Secure your business
                                                                      communication with Zoho Mail


                                                                      Mail on the move with
                                                                      Zoho Mail mobile application

                                                                        Stay on top of your schedule
                                                                        at all times


                                                                        Carry your calendar with you
                                                                        Anytime, anywhere




                                                                              Zoho Sign Resources

                                                                                Sign, Paperless!

                                                                                Sign and send business documents on the go!

                                                                                Get Started Now




                                                                                        Zoho TeamInbox Resources





                                                                                                  Zoho DataPrep Demo

                                                                                                  Get a personalized demo or POC

                                                                                                  REGISTER NOW


                                                                                                    Design. Discuss. Deliver.

                                                                                                    Create visually engaging stories with Zoho Show.

                                                                                                    Get Started Now









                                                                                                                        • Related Articles

                                                                                                                        • Field Rules

                                                                                                                          Overview Using the Field Rules, you can choose to show or hide certain form fields to your respondents or set certain fields as mandatory to fill in based on their previous responses on the form. This way, you can let your respondents see only the ...
                                                                                                                        • Page Rules

                                                                                                                          Overview You can use Page Rules to direct form respondents to a specific page in a multi-page form based on their input. Using multi-page forms with Page Rules is a smart way to ensure that your respondents see only the pages relevant to them while ...
                                                                                                                        • Form Rules

                                                                                                                          With the Form Rules, you can choose to trigger different actions upon form submission if the defined conditions are satisfied. You can automatically trigger emails, assign tasks, decide on the Thank You page to be displayed or redirect the ...
                                                                                                                        • Filtering the Rules

                                                                                                                          If you have multiple rules configured in your form and wish to find specific rules that are configured using a form field, you can use the filter option. To do so, Click the filter icon in the top- right corner of the Rules summary. Select a form ...
                                                                                                                        • Advanced Page Rules

                                                                                                                          Overview With Advanced Page Rules, you can configure rules with a combination of AND/OR connectors between multiple condition groups to skip pages and take respondents to the pages relevant to them based on their input. Let's look at Advanced Rules ...
                                                                                                                          Wherever you are is as good as
                                                                                                                          your workplace

                                                                                                                            Resources

                                                                                                                            Videos

                                                                                                                            Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                            eBooks

                                                                                                                            Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                            Webinars

                                                                                                                            Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                            CRM Tips

                                                                                                                            Make the most of Zoho CRM with these useful tips.



                                                                                                                              Zoho Show Resources