Layout Rules | Zoho Vertical Solutions

Layout Rules

Layout rules offer a powerful way to dynamically change the behavior of fields, sections and subforms in real-time based on the values provided by the user. This helps in streamlining the data entry and enhance user experience by ensuring only relevant fields are displayed based on the user's input. 

For example, in a sales layout, a custom field called Deal Size can be made mandatory only if the Lead Source is 'Referral'. This aids in capturing crucial information for higher-quality leads.

Creating a Layout Rule

  1. Log in to Zoho Developer Console and click Vertical Solutions.
  2. In the following page, click on the Edit icon of the solution to which the layout has to be created.
  3. In the left menu, navigate to Modules
  4. Select the desired module from the Modules tab. Now, in the Layout Rules tab, click on New Layout Rule.
  5. Fill in the details like the name and description of the layout rule. 
  6. Now, under the Choose a primary field that controls this rule, pick the desired field.

  7. Configure the condition using operators and click Next. Click on the edit icon in the flowchart to add one or more conditions to the primary field. 
  8. On clicking the Trigger action button, it lists the following three possible actions:
    1. Show Fields - You can choose specific fields to be shown when the criteria is met.
    2. Show Sections - You can choose specific sections with multiple fields to appear only when the criteria is met.
    3. Set Mandatory Fields - You can set the desired fields to be mandatory only if the criteria is met.
  9. Once you have selected the action, the Create Action tab opens on your right side. 
  10. Click on the empty field, and it will list you the available field/section in the layout for you to create an action when the condition is satisfied.

    You can also select more than one field/section for a single layout rule. 
    Consider a field called Annual Revenue has to appear when the Lead Source (primary field) is 'Trade Show' and the Industry (secondary field) is 'Data/Telecom OEM'. In this situation, use the edit icon to configure the Secondary field. If you want to configure an action for a different secondary field value, use the plus icon. 
    Select the Choose an Option when you want to configure a whole new action for the primary field (Lead Source)value which is different from the value used in the earlier condition.
  11. Click Save

Points to Remember

  1. Layout rules are applied on create, edit, and view pages. 
  2. The Show Subform action will be available only if a subform is present in the layout.
  3. Layout rules are also effective in the approval process of records. 
  4. Layout rules are supported in Kanban view only when the primary field is a mandatory picklist. 
Fields Mandated by Layout Rules
  1. Layout rules created with the Set Mandatory Fields action will be captured via pop-window in the following scenarios.
    1. Editing the value of the primary field to meet the layout rule criteria. 
    2. Updating the Deal Stage (primary field) from the Detail page, Blueprint, or the Pipeline view. 
    3. Updating the Task Status (primary field) from the Activities Related List,  Kanban View, Home page or custom view.
Layout Rules Limitations
  1. Layout rules are effective only when creating the records manually. If the primary field value is updated via import, webforms, workflows, APIs, lead conversions, and Mass update will not trigger the layout rule. 
  2. Layout rules only with Set Mandatory Field action will be triggered through APIs and Mass update. 
  3. The primary field of the layout rule cannot be a Multi-select picklist field.
  4. Maximum rules allowed - 10 per layout
  5. Maximum parent conditions allowed - 25
  6. Maximum branch conditions allowed - 5 per parent condition
  7. Maximum branch conditions criteria allowed - 5 per branch condition
  8. Maximum actions allowed - 25 per branch condition
    (The total number is inclusive of all actions. There are no individual limits per action)

Packaged Layout Rules 

Packaged Layout Rules are the ones that are created in the Developer console and deployed in the subscriber organizations during Signup or via upgrade. Following content will explain the behavior of such Layout Rules. 

To know more about packaging, refer to our guide on Components Packaging in Zoho Vertical Solutions Platform. 

Property
Upgrade Type
Modify Access
Name
Upgradable
Developer Only
Description
Upgradable
Developer Only
Primary field
Upgradable
Developer Only
Condition
  1. Name
  2. Criteria Pattern
Upgradable
Developer Only
Trigger an action
  1. Show Fields
  2. Show Sections
  3. Set Mandatory Fields
Upgradable
Developer Only
Rename
Upgradable
Developer Only
Delete
Upgradable
Developer Only
Deactivate Layout Rule
Upgradable
Developer Only

Changes and Impacts 

When a Layout Rule is modified, published, and pushed as an upgrade to the subscribers' accounts, the impacts to the existing records or configurations in the Subscriber's org, such as leads, contacts, and module data that are associated to the particular layout rule, are provided here. 

1. Adding a new Layout rule to an existing primary field

When you create a new layout rule for a layout that already contains records, the rule will apply to all new records. For existing records, the layout rule will take effect when any update is made to those records.

2. Editing a layout rule

When you edit an existing layout rule, changes to the following properties will not impact any existing records:
  1. Name
  2. Description
  3. Rename 
However, changes made to the 'Primary Field' and 'Condition' properties will take effect on the records whenever they are updated, provided the primary field's value meets the newly defined criteria.

3. Deleting / Deactivating a Layout Rule

If a layout rule is deleted or deactivated, existing records remain unchanged. However, for new records, the fields and sections that are configured to appear only when the criteria is met will appear without any constraints.

Warning
Caution! 

Deleting a Layout Rule is a destructive change. It can have lasting effects on your subscriber data and configurations. Please consider the consequences carefully before proceeding, and only move forward if absolutely necessary.

    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









                                            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

                                                                                                              • Workflow Rules in Vertical Solutions

                                                                                                                Workflow Rules automate actions such as sending email notifications, assigning tasks, and updating record fields based on specified conditions. This feature simplifies processes by automating tasks when certain criteria are met. Key Components of a ...
                                                                                                              • Getting Started with Zoho Vertical Solutions Platform

                                                                                                                The Zoho Vertical Solutions Platform is a low-code development suite that empowers developers to craft tailored solutions. By utilizing our low-code development tools, developers from diverse industries can design custom solutions that address their ...
                                                                                                              • Layouts

                                                                                                                Layouts in Zoho Vertical Solutions are versatile interfaces that help businesses to structure their data to fit specific requirements. The key advantage of using layouts is that you can streamline the data management by ensuring that users interact ...
                                                                                                              • Lookup Field

                                                                                                                The lookup fields in Zoho Vertical Solutions help in establishing a relationship between two modules, which can be within the same module or across different modules. When a record is linked through a lookup field, it becomes the 'associated record'. ...
                                                                                                              • Field Of Lookup

                                                                                                                The Field of Lookup feature in Zoho Vertical Solutions helps enrich the primary module with contextual data from the associated module of a lookup field. You can select the necessary fields from the associated module and either map them to existing ...
                                                                                                                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