Simple Question Types
Simple question types collect a single free-form value from the participant: either text or a number. They are the most straightforward question format and suit open-ended questions where a fixed set of options is not appropriate.
The Text question type presents a single-line input field. Use it when you want participants to write a short, free-form answer.
Options
Section titled “Options”| Option | Description |
|---|---|
| Required | When enabled, the participant must fill in the field before proceeding. |
| Size | Controls the visual width of the input: Small, Medium, or Large. Ignored for email, phone and web address formats, which always use a single line. |
| Min length | The minimum number of characters the participant must enter. Leave blank for no minimum. |
| Max length | The maximum number of characters allowed. Leave blank for no limit. |
| Text format | The format the answer must match: any text, email address, phone number, web address (starting with http:// or https://), or a custom pattern. |
| Countries | Phone format only. Pick the countries whose numbers are accepted from a searchable list. Leave empty to accept any country written with a leading plus sign. |
| Custom pattern | Custom format only. A regular expression the whole answer must match. For example, [A-Z]{2}\d{4} accepts AB1234 but not XAB12345. |
Text questions accept any characters unless a text format is set. Length and format constraints are checked as the participant answers and again on submission. An empty answer skips the format check, so use Required to insist on an answer.
Phone numbers follow local rules. With countries listed, participants may type numbers in national format. With none listed, numbers must start with a plus sign and country code.
Number
Section titled “Number”The Number question type presents a numeric input field. Use it when the answer should be a specific quantity or measurement.
Options
Section titled “Options”| Option | Description |
|---|---|
| Required | When enabled, the participant must fill in the field before proceeding. |
| Min value | The lowest number the participant may enter. Leave blank for no minimum. |
| Max value | The highest number the participant may enter. Leave blank for no limit. |
| Allow negative numbers | When enabled, negative values are accepted. Disabled by default. |
- The input only accepts numeric characters. Non-numeric input is rejected.
- Min and max value constraints are enforced when the participant submits the question.
- If negative numbers are not allowed and the participant enters a negative value, they will be prompted to correct it.
Common behaviours
Section titled “Common behaviours”Both question types share the following:
- They can be given a condition that controls whether the question is shown, based on a participant’s earlier answers. See Conditional Questions.
- They have a code field, used to identify the question in exports and condition expressions.
- Question text supports formatting.