Preferences - Dynamic Form Questions
Dynamic form questions are questions you centrally define and can then be dynamically added to forms/questionnaires. This setup provides increased flexibility, allowing you to centrally define and configure questions and use them as needed in various forms and questionnaires.
To create and configure dynamic form questions, follow the steps below:
In the Questions Table, scroll to the bottom of the table and select the Create Row button,
. The Create Row window displays.Configure by entering values for the relevant fields:
Remember, you can select the insert field button,
, to add dynamic values.Name (Required) - Enter a name for the question.
Display title - Enter a display name for the question (as it will appear to users).
Display description - Enter a description of the question. This description displays with the Display title on the interface.
Form IDs - Enter the IDs of the forms this question should be contained in. A question may have multiple Form IDs. All questions with the same Form ID will be included in the relevant questionnaire or form when that Form ID is used.
Question type - Select the question type:
Text
Long Text
Number
Date
Dropdown
Search
Radio
Multicheckbox
Separator
Info
Save to Schema Key - Select the schema key to save the input for the question.
Hide Conditions - Define the conditions that determine when the question is hidden.
Summary name - Enter a name to display for the question summary.
Is Required Conditions - Define the conditions that determine when the question is required.
Custom validation Regex - Enter a regular expression for custom validation.
Custom validation message - Enter a message for the custom validation.
Widget Width - Enter the display width of the question in the widget as a percentage.
Widget Order - Enter a number to determine the display order of the question on the form (in ascending order). If no value is provided here, relevant widgets that share the same Form ID value will display in the order they were added to the Questions Table.
Dropdown options - Configure the dropdown options (for dropdown and search questions).
For dropdown questions - Enter a comma-separated list or JSON array. Use the JSON array option for arrays where values contain commas (for example:
["Solaire of Astora","Ornstein, the Dragonslayer","Knight Artorias"]).For search questions - Provide a JSON object with data source details (ask the Tonkean team for syntax help).
When finished, select Create. The dynamic question is created.