Task Layout Rules

Task Layout Rules

Layout Rules in Zoho Project helps you customize your Add Task form layout based on the certain conditions and criteria. To create a layout rule, you must create a condition and an action.

Benefits

  1. Optimize your task forms by viewing fields based on matching condition.
  2. Mandate specific fields based on value in another field.
  3. Create a customized flow using dependent layout rules. View a related drop-down based on the selection in a pick list.
Notes
Feature Availability:  Enterprise Plan
Idea
Conditional Layout Rule allows for changing the property of a field based on certain conditions. For e.g., the rule is set to execute on task creation and task update. If the priority of the task is high and initial quantity (a custom field) is not given, the rule will mandate that Due Date and Quantity fields must be filled before the task can be added.
Here, the rule is set to execute when a task is created or. updated. The condition for the rule is set to Priority is High and Quantity field is empty. If both these conditions match, the Due Date and Quantity fields will be marked as mandatory fields in the Add Task form as shown below.

Dependent Layout Rule allows users to view specific values in a field on the Add task form, based on a value selected in another field. For e.g., an organization assigns weightage to items when tracking material, and items with higher weightage are to be tracked by specific managers. So a dependent layout rule is created as shown. The primary field is set as Item Weightage and the highest weightage is selected. Then the dependent field is set to Sr Supply Chain Managers and specific individuals are selected.


When adding a task or updating a task, if the Item Weightage is set to 5, only these selected users will be shown in the Sr Supply Chain Managers field.

Create Layout Rule

  1. Click   in the upper-right corner of the top navigation band.
  2. Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
  3. Click New Layout Rule in the upper right corner.
  4. 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.
  5. Select the Rule Type and create a rule.
    1. Conditional Layout Rule: Use the conditional layout rule to change the property of a custom field.
    2. Dependent Layout Rule: Use the dependent layout rule to change the value of the custom picklist fields.
  6. 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.
  7. Click Save.
Notes
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.

Notes
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

  1. Click   in the upper-right corner of the top navigation band.
  2. Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
  3. Hover over a layout rule and click    to view options.
  4. Click Edit.
  5. Modify layout rule information.
  6. Click Save.

Delete Layout Rule

  1. Click   in the upper-right corner of the top navigation band.
  2. Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
  3. Hover over a layout rule and click  to view options.
  4. Click Delete.
  5. 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

  1. Click   in the upper-right corner of the top navigation band.
  2. Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
  3. Click on the rule which you would like to add action.
  4. Click Add action and select Show fields.
  5. Select the fields you would like to display.
  6. Click Save.

Show sections

  1. Click   in the upper-right corner of the top navigation band.
  2. Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
  3. Click on the rule which you would like to add action.
  4. Click Add action and select Show sections.
  5. Select the sections you would like to display.
  6. Click Save.
Notes
The default section will not be displayed under "Show sections".

Set mandatory fields

  1. Click   in the upper-right corner of the top navigation band.
  2. Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
  3. Click on the rule which you would like to add action.
  4. Click Add action and select Set Mandatory Fields.
  5. Select the fields which you would like to set as mandatory.
  6. 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.
  7. Click Save. 
Notes
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

  1. Click   in the upper-right corner of the top navigation band.
  2. Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
  3. Click on the rule which you would like to add action.
  4. Click Add action and select Remove Mandatory Field.
  5. Select the mandatory fields which you would like to remove.
  6. Click Save.

Disable field

  1. Click   in the upper-right corner of the top navigation band.
  2. Navigate to Customization > Layouts and Fields > Tasks > Layout Rules tab.
  3. Click on the rule which you would like to add action.
  4. Click Add action and select Disable Field.
  5. Select the fields which you would like to disable.
  6. Click Save.
Notes
If a field is set as mandatory, it cannot be disabled.

Limitations:

  1. A layout rule can have a maximum of 35 conditions
  2. Users can add upto 200 conditions per layout.
  3. There is no restriction on the number of rules that can be associated with a single layout, however, the above restrictions must be satisfied.


More Reads