Articles in this section
Authenticate Emails with SPF, DKIM, and SenderID Auto-forwarding your emails to Vtiger Automate Outgoing Emails in Email Settings Automation - Approvals Automation - Assignment Rules Automation - Multi-path Workflows Automation - Scheduled Workflows Automation - Scheduler Automation - Standard Workflows Automation - Webforms Automation - Workflow Action - Create Event Automation - Workflow Action - Create Records Automation - Workflow Action - Create Task Automation - Workflow Action - Invoke Custom Function Automation - Workflow Action - SMS Task Automation - Workflow Action - Send Mail Automation - Workflow Action - Update Fields Automation - Workflow Action - Webhook Automation - Workflows - Vtiger Expressions Configuration - Business Hours Configuration - Company Details Configuration - Consents Configuration - Customer Portal Configuration - Maps Configuration - Usage Details Configure Encrypted data fields in Vtiger CRM Configure Picklist Dependencies Considerations for Deactivating Vtiger Users Control Fields and Record Displays using Configuration Editor Create Reminders for Records and Inbox Create a field of a Grid type Customize your self-service portal theme using CSS styles Dealing with Currencies and Taxes Enable Desktop Notifications on Chrome Web Browsers Extensions - Extension Store IMAP Configuration - 2-way sync between Vtiger and IMAP providers Inventory - Payments and Subscriptions Inventory - Tax Management Inventory - Terms and Conditions Login to Vtiger on SSO SAML using ADFS Mailroom Functionality in Different Scenarios Manage Multiple Currencies Marketing & Sales - Forecast and Quota Settings Marketing & Sales - Pipelines and Stages Marketing and Sales - Deal to Project Mapping Marketing and Sales - Lead Conversion Data Mapping Marketing and Sales - Profile Scoring Module Management - Labels Editor Module Management - Module Numbering My Preferences My Preferences - Calendar Settings My Preferences - My Tags My Preferences - Notification Preferences SAML Support in Vtiger CRM Set up Mailroom Settings - Configure Module Settings Module Management - Creating a Relationship Between Modules Settings - Customize Records and Fields for your Business Settings - How to set email autoresponder to Webform submission? Settings - Left Menu Settings - Manage Global Picklists in Vtiger Settings - Set up your Support Team Settings - Start Up Page Settings - Working with Picklist Values Module Management - Module Builder Support - SLA Policies Troubleshooting Login Issues Unsubscribe your Email User Management - Authentication User Management - Encrypted Field Access Logs User Management - Groups User Management - Login History User Management - Profiles User Management - Roles User Management - Settings Log User Management - Sharing Rules User Management - Users User Management - Vtiger Support Access Vtiger Buzz - Chrome Extension for Notifications Vtiger Implementation wizard Vtiger Language Support Websense - Trackers Websense - Widgets Configuration - Storage Guard Adding a local DNS Entry Adding Additional Hidden Fields to a Webform Configuring Dependent Fields and Blocks for Modules Duplicate Prevention in Modules Module Management - Modules Module Management - Module Layouts & Fields

Settings - Create Dynamic Fields and Layouts

Bindu Rekha Babu
11 Aug, 2020 - Updated 1 year ago

Dynamic business rules are defined at a module level and impact detail and edit views of a record keeping the clutter out of the views. Additionally, rules can be set to mark a field as mandatory or read-only.

Dependent Fields
Click the icon to watch the video.

Dynamic Fields are supported in List View, Detail View, Edit View and Inline Edit.

Example: “A Customer sells Insurance (Product A and Product B), he has 120 custom fields which are related to Product A and there will be 120 custom fields for Product B. The customer doesn’t want to see the custom fields which are related to Product A when he is updating the Product B details.

When the customer selects Product A from picklist or a checkbox field, the fields which are related to Product A should be shown and when he selects Product B, the fields related to Product B only should be shown.”

Prerequisites for setting up dynamic fields or blocks

  • Define the blocks and fields in the layout using Module layout editor.
  • Define the picklist or checkbox field that will be used as trigger field in dependency rules
  • Go to Dependent fields/block tab of a module to define dependency rules

Dependent Fields & Block Rules

Rules Description & Example
Set Visibility This action is to show or hide a field(s) or a block when conditions are met. If all fields are hidden, then the corresponding block also gets hidden.
Example: If a Lead is a B2C case, show fields relevant to a consumer, else show fields relevant to an Organization.
Set a Mandatory field This action is to conditionally make a field mandatory.
Example: If a Case is closed, case resolution field is shown and needs to be filled by the agent closing the case.
Set Read only This action is to make a field(s) read-only when conditions are met.
Example: If an Opportunity stage is Quote approved or closed, make Opportunity amount read-only.

Adding a dependent block

Follow these steps to add a Dependent Block

  1. Click New Dependency
  2. Select Dependent Field/Block (to be visible on selection). Example: Address Details
    alt text

  3. Select Access Control
    alt text

  4. Select Condition - Select Salutation equals ‘Mr.’ (You can also choose not equals condition) from drop-down. You can have multiple conditions on a block.
    alt text
    alt text

  5. Click Save

The flow of the dependency is as below

If condition (Salutation equals ‘Mr.’)
Access: Show
Dependent Block: Address details

Adding a child dependent field within a block

  1. Click Edit icon below the dependent block
    alt text

  2. Click New Field Dependency

  3. Select Dependent Field (Mailing Street)
    alt text
  4. Select Access Control and add the condition as Mode of Contact + equals = PrimaryEmail
    alt text
  5. Add another action on the Dependent Field - If Contact Type equals ‘Sales Qualified Lead’ show Mailing Street field as Read Only.
    alt text
  6. Click Save

Adding a dependent field

Let’s consider adding a dependent field for Opportunity module. Follow these steps to add a Dependent Field

  1. Click New Dependency
  2. Select Dependent Field (to be visible on selection). Example: Lost Reason
  3. Select Condition: Select Sales Stage equals ‘Closed Lost’. You can have multiple conditions.
  4. Select whether mandatory

    • Show (Read + Write) & Mandatory - Show field or block and mark mandatory only if the conditions are met.

    • Mandatory - Show field or block always and conditionally set as mandatory in record view.
      For example, Show Lost Reason Field always but if Sales Stage = Closed Lost, set Lost Reason field as mandatory.
      alt text

  5. Click Save

Dependent fields will slow list views.
If List view columns include dependent fields, then it could take more time to load the list.

Dynamic Field allows you to choose picklist field and checkbox field for triggering.

alt text

Note! Conditional mandatory rules will not adhere if Fields are mandatory in module levels.
**Access Control: ** Show (Read + Write) or Show (Read) only, select checkbox to make it as a mandatory field work only on field level


  • Dependent field cannot be a trigger field.
  • Trigger field is first outside the block and then moved inside the dependent block, dependency will not work and all the fields will be shown.
  • When a trigger field is disabled, the condition will be in a strikeout mode.

Points to remember

  • The alt text icon in the list view represents that the field is hidden due to the dependency rule set.
Home Privacy Policy Terms of Service Security Center Policy & Legal Center Contact Us
© Copyright 2021 Vtiger. All rights reserved.
Powered by Vtiger
Facebook Twitter Linkedin Youtube