Articles in this section
Authenticate Emails with SPF, DKIM, and SenderID Auto forward your emails to Vtiger Managing User Profiles Automate Outgoing Emails in Email Settings Automation - Approvals Automation - Assignment Rules Set up Multi-path Workflows Creating a Scheduled Workflow Automation - Scheduler Creating a Workflow Webforms in Vtiger CRM Set up a Workflow Action to Create Event Set up a Workflow Action to Create Records Set up a Workflow Action to Create Task Set up a Workflow Action to Invoke Custom Function Set up a Workflow Action to Create an SMS Task Set up a Workflow Action to Send Mails Set up a Workflow Action to Update Fields Automation - Workflow Action - Webhook Automation - Workflows - Vtiger Expressions Configuration - Business Hours Configuration - Company Details Configuration - Consents Configuration - Customer Portal Maps in Vtiger CRM Configuration - Usage Details Configuring 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 Dealing with Currencies and Taxes Enable Desktop Notifications on Chrome Web Browsers Vtiger CRM Add-ons IMAP Configuration - 2-way sync between Vtiger and IMAP providers Setting up Autopay & Payment Gateways Inventory - Tax Management Inventory - Terms and Conditions Login to Vtiger on SSO SAML using ADFS Mailroom Functionality for Different Scenarios Manage Multiple Currencies 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 Configure My Preferences Feature My Preferences - Calendar Settings Tags in Vtiger My Preferences - Notification Preferences SAML Support in Vtiger CRM Vtiger 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 Add-Edit Unsubscribe Links in your Email Template 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 Configuring Websense Trackers Websense - Widgets Module Management - Module Layouts & Fields Generate and Manage Third-party App Passwords in Yahoo Configuring App Passwords for Gmail Outgoing Server and Yahoo Mail Configuration - Storage Guard Customizing your Self-Service Portal Theme Using CSS Styles Automation - SMS Reply Actions Adding Hidden Fields to a Webform Configuring Dependent Fields and Blocks for Modules Auto forward Emails from Microsoft Office 365 Adding Custom Module Login Page Customization Settings - Personalize Module Layouts Module Management - Modules Duplicate Prevention in Modules Formula Fields Creating Custom Filters Adding a local DNS Entry

Settings - Create Dynamic Fields and Layouts

B
Bindu Rekha Babu
11 Aug, 2020 - Updated  4 years 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

Note!
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

Exceptions

  • 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 2025 Vtiger. All rights reserved.
Powered by Vtiger
Facebook Twitter Linkedin Youtube