When customizing a data type, you have the option to create a Condition Field. This feature allows certain fields to remain hidden unless a specific response is provided in a previous field, making the form more dynamic and user-friendly.
Example Usage
Suppose there is a question: "Have you worked with this customer before?"
If the user selects "Yes", a new field appears asking, "How many times?"
If the user selects "No", no additional fields appear.
Steps to Set Up a Condition Field
Add Fields:
In the data type editing page, go to 'Add Field' and create all necessary fields, including both conditional and non-conditional ones.
Select the field that should remain hidden until a specific response is provided.
2. Enable Conditional Logic:
Inside the field settings, enable 'Condition field?'
Set the following parameters:
Condition Source Field: Choose the field that this one depends on (e.g., "Previous Experience with Customer").
Condition Field Value: Enter the response that should trigger this field’s appearance (e.g., "Yes").
3. Observe the Conditional Behavior:
When selecting "No", no additional fields appear.
When selecting "Yes", the linked field appears as expected.
Advanced Conditionality
You can create nested conditions, where a field triggered by one condition can, in turn, trigger another.
To allow multiple responses to activate a field, separate values using a semicolon (;).
This feature helps streamline forms by displaying only the necessary fields based on user input.