The Auto Code feature functions like a simple query builder, allowing you to combine multiple conditions using common operators. For example, you can automatically check a specific option for a question based on a previous question’s answer or a specific condition.
Suppose you have an age or postcode question. When the respondent enters their age in a verbatim textbox, you can define rules using the Auto Code query builder to automatically select the corresponding age group option. This feature helps apply logic-based coding without manual intervention.
Key Features and Attributes
- Evaluate On Select the source question whose answer will determine the branching logic.
- Criteria: Define the conditions for branching using operators (e.g., Equal to, Greater Than) and values. You can combine multiple criteria using AND/OR operators.
- Target Question: This is the question where the Auto Code logic will be executed based on the defined conditions.
- Target Code refers to the option code that will be automatically selected when the conditions defined in the Auto Code rule are met.
- Active: Toggle this option to enable or disable the auto code rule.