Conditional Layouts | Online Help - Zoho CRM

Adding Layouts Rules

Layout Rules in Zoho CRM offer an interface for you to seamlessly manage dependency between fields in a layout.

Your sales data are often inter-dependant. Consider the following examples.

  • In a real estate company, the particulars required from a customer may be different depending on whether he/she wishes to buy an apartment or villa.
  • In an educational institution, the particulars required from a student may be different depending on whether he has chosen Physics or Economics.
  • In an insurance company, the particulars required for a motor insurance policy may be different depending on the vehicle type - private car or a commercial vehicle.

So, the value you enter for one field will decide the necessity for a bunch of other fields. When you are filling the details for a Car Insurance Policy, the Commercial vehicle-related fields are not even required - but they are still on your layout. You may be looking at 10 fields when you need only 5.

However, you cannot do away with the remaining 5 fields in the layout - as they are required when Commercial Vehicle is chosen. This is where conditional layouts enter the picture. Conditional layouts are created with layout rules, by which you can establish an interface in which certain fields are shown depending on the value entered in a previous field.

As a result you are able to make your layouts dynamic - as the entire structure of a layout changes based on field values you enter. Note that you are not eliminating fields from the layout, you are only controlling how a layout appears based on certain field values.

Availability
Permission Required
Users with the Customize Zoho CRM profile permission can access this feature.

Using Layout Rules (conditional layout)

Let's look at how to create a conditional layout with the help of a scenario.

Zylker Insurance offers motor insurance products such as car insurance and commercial vehicle insurance.

In this case, if Zylker includes all these details in a single form/layout, there is a slight difficulty. That is, when a customer needs a policy for a car, the form unnecessarily asks for details regarding commercial vehicles as well. Observe the details in the table below:

Field
Private Car
Commercial Vehicle
Purpose for which vehicle will be used


Nature of goods normally carried


Type of Permit (Goods Carrying Vehicle)


Type of Permit (Passenger Carrying Vehicles)


Hazardous Substances Description


The above table lists fields that are required for a commercial vehicle but not a private car. This means an entire section in a form becomes unnecessary the moment you choose "Private Car".

This only causes clutter in your form and delays the process of creating a record.


This is where conditional layouts enter the picture.

In the above example, using layout rules, you can achieve a dynamic setup in which only when " Commercial Vehicle " is chosen, the Commercial Vehicle details appear - in other cases it remains hidden. This way, you can optimize your forms.

Create layout rules

To create layout rules

  1. Go to  Setup > Customization > Modules and Fields .
  2. From the list of modules, select the required module.
    In this scenario, select  Leads .
  3. Select the required layout. Example,  Motor Insurance layout.
  4. Go to the  Layout Rules  section.
  5. Click  New Layout Rule.
  6. In the  New Layout Rule  popup, enter the following details:
    • Enter a  name  for the rule.
    • Describe  the rule.
    • Choose the layout  for which this rule is applicable. Example, Motor Insurance
    • Choose a primary field  that controls this rule. Example, Type of Vehicle
    • Choose a condition  to initiate the rule. Example, Type of Vehicle is Commercial Vehicle.

    • Click  Next
  7. In the Rule page, the Condition specified is prepopulated. So click  Trigger an action. 
  8. Choose from the list of actions. Example,  Show section.
  9. In the  Create Action r ight pane, specify the section to be shown. In this scenario,  Commercial Vehicle details  section.


    If you have further conditions and actions, you can specify them as required in a similar way.

Result of the layout rule

Now when you create a lead in the Motor Insurance layout, the Commercial Vehicle details section is displayed only when you select Commercial Vehicle type. Otherwise, it is hidden.


Actions that can be triggered

There are four actions that can be triggered when layout rule criteria are met.

  • Show Field : Choose this action when you want specific fields to be shown only when the prescribed criteria are met.
  • Show Section : Choose this action when you want specific sections to be shown only when the prescribed criteria are met.
  • Set Mandatory Fields : Choose this action when you want to make a few fields mandatory only when the prescribed criteria are met.
  • Show Subforms:  Choose this action when you want the subform to be shown only when the prescribed criteria are met.

Example:

In the same Zylker Insurance scenario, assume the following conditions.

  1. You want to display the field  Type of Insurance  only if  What are you looking for?  field is chosen as  Insurance .
  2. You want the  Dependent Information  section to be displayed only when you select the type of insurance as  Life Insurance . Otherwise, it is hidden.
  3. Upon choosing  Life Insurance , you want the  Dependent's Name  and  Date of Birth  to be mandatory. For a vehicle insurance policy, dependent details are not mandatory.
  4. You want to display the  Life Insurance Details  subform, only when the type of insurance chosen is  Life Insurance . If not the subform should be hidden.

In these cases, the following could be layout rules and actions.


As you can see, based on specific field values, you can make fields, sections and subforms appear or disappear and mark fields as mandatory. This makes your layout very dynamic.

Notes
Note:
The field set as the primary field for a layout rule, can further be included in the "Show Field and "Set Mandatory Fields" actions. For instance if a rule is based on a primary field "Type of Vehicle",  a newly created layout rule "Vehicle Insurance" can show or set the field "Type of Vehicle" as mandatory during the configuration.

Points to Remember

  • Click here  to make a note of the instances when field updates take precedence over layout rules.
  • The  [Record] Owner  field currently cannot be chosen as the primary field that controls the layout rule.
  • Layout Rules are applied on Create/edit and view pages.
  • Layout Rules cannot be used on the following field types:
    • Auto Number
    • Lookup
    • User Lookup
    • Formula
    • File Upload
    • Multi Line
    • Multi-select Picklist
  • Layout rules are not available for records generated via import, webforms, lead convert page. In case of creating or editing records via APIs, only "Set Mandatory Field" action is supported.
  • While choosing trigger actions, the  Show Subform  option will be available only if a subform is present in the chosen layout.
  • When you edit a primary field used in a layout rule, if there are mandatory fields associated to the rule, these mandatory fields will be captured via a popup prompt.
    For example, let's say you have a layout rule saying, "If  Amount > 50000 USD,  make  Discount  mandatory". When you edit the Amount field from the Record Detail page, the Discount field will be prompted via a popup window.

    Similarly, fields mandated by the layout rules will be verified as mentioned below:
    • If you have configured a layout rule based on a Deal Stage, when you edit the stage from the Detail page, Blueprint or the Pipeline view, the fields mandated by the layout rule will be captured via a popup window.
    • If you have configured a layout rule based on Task Status - Example, you have mandated a Description field when a Task is Closed. In such a case, when you close a task from the Activities Related List / Kanban View / Home page or custom view, CRM will verify layout rule, before closing the task and prompt the fields as mandated by the rule.
    • Layout rule support is been given to Kanban view so, drag and drop will evaluate layout rule.
    • Layout rules are also effective on approval of records.
  • Layout rules cannot be created based on a Multi-select picklist field as the primary field. 
  • Layout Rules Limits 
    • Maximum rules allowed - 10 per layout
    • Maximum parent conditions allowed - 25
    • Maximum branch conditions allowed - 5 per parent condition 
    • Maximum branch conditions criteria allowed - 5 per branch condition 
    • Maximum actions allowed - 25 per branch condition
      (The total number is inclusive of all actions. There are no individual limits per action.)

    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 Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            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

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      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 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

                                                                                                              • Conditional Layouts - Concept and Benefits

                                                                                                                Conditional Layouts or Layout Rules is a feature that offers an interface for you to manage dependency between fields in a layout seamlessly. Not only does it serve to help you manage your layout to suit your business requirements better, but it also ...
                                                                                                              • FAQs: Page layouts

                                                                                                                Is it possible to limit access for users based on their departments? Yes. Zoho CRM allows you to set permission for modules, records, layouts, and fields to determine whether users from a particular role or department can access the data or not. For ...
                                                                                                              • Working with Page Layouts

                                                                                                                Understand page layouts with a scenario Here is a simple scenario in which we will demonstrate the use of page layouts in Zoho CRM. With this as an example, you will be able to implement page layouts for your organization depending on your company’s ...
                                                                                                              • Conditional Layouts

                                                                                                                Make the layouts dynamic using Layout Rules Help guide Creating Conditional Layouts
                                                                                                              • Configuring Workflow Rules

                                                                                                                Workflow Rules in Zoho CRM, are a set of actions (email notifications, tasks and field updates) that are executed when certain specified conditions are met. These rules automate the process of sending email notifications, assigning tasks and updating ...
                                                                                                                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