This creates a dynamic experience in our Collect data module: as users fill out questions, dependent questions appear instantly when the correct trigger is selected. If a user changes their answer, for example, switching from Yes to No; the dependent questions are immediately hidden and any previously entered data in those fields is automatically cleared.
How to set up your conditional custom metrics
When setting up your first conditional custom metric, please note that conditional questions require at least one question above
2. Create your first question and select ‘yes/no’ as the question type
3. Write your conditional question and toggle on the ‘make this question conditional’ toggle
4. Select the question on which your second question is conditional
5. Choose the value upon which the conditional question should be shown, yes or no
6. Remember to save your metric! You have now created your conditional custom metric
Please note:
Cloning: When a user clones an active version, all questions and their display logic are perfectly duplicated into the new draft.
Deleting a Parent: If a user tries to delete a "Yes / No" question that controls other questions, they will see a warning : "Warning: This question is used for display logic in [X] other questions".
Breaking Changes: If a user changes a "Yes / No" parent question to a different type (e.g., Text), the child questions will show an error state in the editor indicating the logic is broken.
