Create a Dynamic Layout Rule when you'd like a create/edit page to change based on a user's input.
To create a Dynamic Layout Rule, Advanced Permissions must be enabled on the Insightly account.
For this example, when a service writer selects a Parts transaction, we want to show a part number field. When they select a Service transaction we want to show a labor rate.
To create a layout rule:
- Go to System Settings > Objects and Fields and select an object.
- Select Layout Rules and click New Rule.
- Enter a name for the rule and select the page layout that you'd like it applied to. This rule will apply when our service writer selects a Parts sale.
- Click Create Layout Rule.
- Click Add a Condition to set up the conditions that will change the page. For this example, we want the page layout to change based on the transaction type.
- Select the field, operator, and values for your condition. Click Add.
- To add up to 7 more conditions, click Add a Condition again. See our article on filtering for information on how to create a combination of conditions.
- Click Add an Action.
- Select the action and the section or field you'd like it applied to. In this case, the layout hides the two fields for part number and value, so we will add an action to show the field that applies to the condition—the part number.
- Click Save. To add up to 7 more actions, click Add an Action.
- Scroll back to the top of the page and click Save.
The page will now change depending on the user's selection.