How to create and manage conditional Fields ? (Admin)

Modified on Tue, 8 Jul at 5:46 PM

The DiliTrust Entities Module allows you to create Conditional Fields—custom fields that appear only when specific conditions are met.

In this example, we'll create a field called “Identifier”, attached to all Companies, which will display different input types depending on the selected Geographic Area.


Create a Reference List

Go to:

Configuration > Data Customization > Reference List

Create a new list named Geographic Area, and populate it with relevant regions (e.g., Europe, America, Asia, etc.).

This list will be used as the Type in a conditional custom field.

 

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.


Create a Custom Field of List Type

Go to:

Configuration > Data Customization > Custom Field

Select New Custom Field, that we’ll call “Identifier”, attached to Companies, of Type Geographic Area  and select the Conditional checkbox.

A screenshot of a computer

AI-generated content may be incorrect.

 

Define Conditional Logic

Now, select the “Identifier” field from the list of custom fields and create Linked Fields that depend on the selected value:

  • European Identifier → shown if Geographic Area = Europe (Type: Text)

  • American Identifier → shown if Geographic Area = America (Type: Number)

  • (No field displayed for other values)

 

N.B. It is possible to get up to 3 level of condition.

For Example, we could have a list of countries depended on the geographic Area, the Identifier could have been depended on the Nationality, and the list of available countries could be dependent on the choice of Geographic Area.


A screenshot of a computer screen

AI-generated content may be incorrect.


Attach your newly created conditional field on your entities

Once the Field is created and your logic is correctly inserted, you can attach the newly created conditional field to your Entities either during its creation or you can edit a company's profile and add the conditional field.

A screenshot of a computer

AI-generated content may be incorrect.




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article