Number Question
On this page you will find instructions on how to set up a Number Question.
The Number Question will ask you to submit a number.
Settings
The attributes of the question can be defined in the settings (e.g. the format or restrictions to the number of characters).
Name | Description |
---|---|
Pattern | Validation that data can only be entered in the specified pattern (e.g. postal codes). Pattern needs to be configured in a regex format. An example: ^[0-9]{5}$ means that you can enter only numbers [0-9] and there needs to be exactly 5 of them {5}, the ^ and $ ensure that nothing more is allowed. |
Suffix | Adds the specified suffix to the question (eg. kg, ha, etc.) |
Minimum Value | Minimum value of the answer |
Maximum Value | Maximum value of the answer |
Initial value | An initial number value that is filled in. |
Unique | The given value must be unique across all the submissions in the data collection |
Format | Enables/Disables format settings |
Format
To configure the format of the Number Question, enable the format flag and choose a format style in the dropdown. Addtional settings can be set up here.
Name | Description |
---|---|
Style | Type of format |
→ Decimal (default) | Decimal number |
→ Currency | Currency (rounded by 2 digits) |
→ Percent | Percent |
Use Grouping Character | Enable/Disable the thousands separator |
Minimum Integer Digits | Minimum number of digits before the scimal point (Will be filled with 0) |
Minimum Fraction Digits | Minimum number of digits behind the decimal point |
Maximum Fraction Digits | Maximum number of digits behind the decimal point |
Currency
When choosing Currency as a format style, enter the type and currency and select the display style.
Name | Description |
---|---|
Currency | Code for currency (e.g. EUR or USD) |
Currency Display Style | Currency Display Style (Symbol, Code or Name) |
→ Symbol | Displays the symbol of the currency in the data entry form, e.g. € |
→ Code | Displays the code of the currancy in the data entry form, e.g. EUR |
→ Name | Displays the name of the currancy in the data entry form, e.g Euro |
Display in the Settings
The question is displayed in the data entry form as follows.
To answer the Number Question,
click in the number input field and
enter the number.