Layout Rules in Zoho Project helps you customize your task's layout based on the requirements. To create a layout rule, you must create a condition and an action.
Benefits
- Optimize your layout by viewing only necessary fields based on matching condition.
- Show specific fields or sections based on your requirements.
- Create a customized flow using dependent layout rules. View a related drop-down based on the selection in a pick list.
![](https://static.zohocdn.com/zoho-desk-editor/static/images/file.png)
Feature Availability: Enterprise Plan
![](https://static.zohocdn.com/zoho-desk-editor/static/images/info.png)
Limitations:
- A layout rule can have a maximum of 35 conditions
- Users can add upto 200 conditions per layout.
- There is no restriction on the number of rules that can be associated with a single layout, however, the above restrictions must be satisfied.
Create Layout Rule
- Click
in the upper-right corner of the top navigation band. - Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
- Click New Layout Rule in the upper right corner.
- Enter the Rule Name, Description, and choose an existing Layout. If there are not any created layouts, the system will only list the default layout in the drop-down.
- Select the Rule Type and create a rule.
- Conditional Layout Rule: Use the conditional layout rule to change the property of a custom field.
- Dependent Layout Rule: Use the dependent layout rule to change the value of the custom picklist fields.
- If you have selected Conditional, choose the trigger to Execute On; Choose a condition to initiate Rule. If you have selected Dependent, choose the Primary Field and the Dependent.
- Click Save.
![](https://static.zohocdn.com/zoho-desk-editor/static/images/file.png)
If the Rule Type is Conditional and the condition field is set to 'Is updated,' you can only add 'Set Mandatory Field' as an action.
Priority, Start Date, End Date, and Completion Percentage are the default fields that can be used in Layout Rules. If multiple conditions are set, the first matching condition and its corresponding actions will be executed. The subsequent conditions will not be checked.
Edit Layout Rule
- Click
in the upper-right corner of the top navigation band. - Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
- Hover over a layout rule and click
to view options.
- Click Edit.
- Modify layout rule information.
- Click Save.
![](https://help.zoho.com/galleryDocuments/edbsna852504188671779d6fe3c76f69d499e61a86ac5c9b35b98e6282e2cb9632cce5d85fa32263ca49e6b1b9b3f73258a8a?inline=true)
Delete Layout Rule
- Click
in the upper-right corner of the top navigation band. - Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
- Hover over a layout rule and click
to view options.
- Click Delete.
- Confirm your action.
Create Action
Once a condition is created, the user can add actions like showing fields, showing sections, or enabling/disabling mandatory fields.
Show fields
- Click
in the upper-right corner of the top navigation band. - Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
- Click on the rule which you would like to add action.
- Click Add action and select Show fields.
- Select the fields you would like to display.
- Click Save.
![](https://help.zoho.com/galleryDocuments/edbsn792dc70f5b459588aa0441f4aed5a09fcd677625a0348182fff286a9c815a9ee7311a030c9e2265c3792fcb858d7a00d?inline=true)
Show sections
- Click
in the upper-right corner of the top navigation band. - Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
- Click on the rule which you would like to add action.
- Click Add action and select Show sections.
- Select the sections you would like to display.
- Click Save.
The default section will not be displayed under "Show sections".
Set mandatory fields
- Click
in the upper-right corner of the top navigation band. - Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
- Click on the rule which you would like to add action.
- Click Add action and select Set Mandatory Fields.
- Select the fields which you would like to set as mandatory.
- Check the Clear the current value and prompt for a new value when triggered checkbox if you want to prompt for new values for the mandatory fields.
- Click Save.
![](https://static.zohocdn.com/zoho-desk-editor/static/images/file.png)
The Clear the current value and prompt for a new value when triggered checkbox will be only available when the condition field is set to 'Is updated'.
Remove mandatory field
- Click
in the upper-right corner of the top navigation band. - Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
- Click on the rule which you would like to add action.
- Click Add action and select Remove Mandatory Field.
- Select the mandatory fields which you would like to remove.
- Click Save.
Disable field
- Click
in the upper-right corner of the top navigation band. - Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
- Click on the rule which you would like to add action.
- Click Add action and select Disable Field.
- Select the fields which you would like to disable.
- Click Save.
If a field is set as mandatory, it cannot be disabled.