Home  >   FAQs   >  How can I configure dependent fields and blocks?

How can I configure dependent fields and blocks?

Table of Contents
We have divided the entire process into four steps for better understanding. Follow these steps:

Step 1: Accessing the Dependent Fields and Blocks screen

This is the primary step in using which you can go to the Dependent Fields and Blocks screen.
  1. Log in to your CRM account.
  2. Click the User Menu on the top right corner of the screen.
  3. Click Settings.
  4. Go to Module Management.
  5. Click Module Layouts & Fields.
  6. Select the module for which you want to configure dependent fields.
  7. Click the Dependent Fields/Block tab.

Step 2: Adding a new dependency

You can add both block dependency and field dependency here.
If you choose a block dependency, you can add multiple child field dependencies under it. You cannot do the same for a field dependency.
  1. Click the +New Dependency button. 
  2. Click the drop-down under the Dependent Fields/Block column.
  3. Select a block or field.
  4. If you wish to add a child field dependency under a block, click +New Field Dependency

Step 3: Setting the access rules

Once you decide on the dependent blocks and fields, you must specify the user’s action on the field.
  1. Click the drop-down under the Access column.
  2. Choose the access rule. For block dependencies, the default and only option is Show, where we show the block. For field dependencies, you can choose among the following options:
    • Show (Read + Write) - Show the field with a read and write access.
    • Show (Read + Write & Mandatory) - Show the field and make it mandatory with read and write access.
    • Mandatory - Make the field mandatory.
    • Show (Read only) - Show the field with only read access.
  • If you wish to add another action for the same dependency, click +New Action and repeat steps 12 and 13.
  • Fields that are defined as mandatory at the module level (in Detail View Layout) are not affected by the access rules set in Dependent Fields and Blocks. This applies only to Show (Read + Write & Mandatory) and Mandatory access rules.

Step 4: Specifying the conditions

Once you add the access rules, you must mention the trigger field and its value. The trigger is a condition that must be satisfied for the dependent fields/blocks to be shown.
  1. Click the field drop-down under the Condition column.
  2. Select a field. Only picklists and checkboxes fields will appear here.
  3. Click the operator drop-down. 
  4. Select either equals or Not Equals.
  5. Enter the picklist value in the text field.
  6. Click Save to save the dependency.
  • If you wish to add another condition for the same dependency, click +Add Condition and repeat steps 14-18.
  • You can delete a condition by clicking the Delete icon next to the condition.

To know more about Dependent Fields and Blocks, click here.
Was this FAQ helpful?
0  out of  0  found this helpful.
Comments 0
Be the first to comment
© Copyright 2023 Vtiger. All rights reserved.