How to use the number block
Learn everything you need to know to use the number block in your forms.
When to use
Use the number block to let your respondents enter a number, including automated checks for valid number inputs.
How to use
Add a new block to your form and then select the question type
Number. You can now customize this block to your needs with the following features:
Textfeature for the name/title of this block.
Descriptionfeature to add a description to this block.
Placeholderfeature to add a text inside the empty input control of this block.
- Help text
Help textfeature to add a help text to this block.
Formatfeature to determine how many decimal places your number input may contain.
Limitsfeature to enter a minimum and maximum value that respondents can enter.
Prefixfeature to enter a label that's shown in front of the entered number value. Optionally you can specify a different prefix for plural values.
Suffixfeature to enter a label that's shown at the end of the entered number value. Optionally you can specify a different suffix for plural values.
Signsfeature to set what signs to use as decimal sign and thousands separator. Please note that in your forms these signs can be overwritten by the respondent's locale settings. In your dataset the selected signs always will be used.
Prefillfeature to set a fixed initial value of this block.
Calculatorfeature to instantly use all calculator features inside the number block.
By default this block is not required to fill out by your respondents. Enable the
Requiredfeature to make this block required to fill out.
By default this block is visible in your form. Enable the
Visibilityfeature to hide it for your respondents.
By default the name/title of this block will be used in your dataset. Enable the
Aliasfeature to use a different name in your dataset.
By default the collected data of this block will be exported to your results. Enable the
Exportabilityfeature to not include this data in your dataset.
Logic is important to make your forms smart and conversational. The number block can work with the following branch conditions to help you with that:
- Number is equal to
- Number is not equal to
- Number is lower than
- Number is higher than
- Number is between
- Number is not between
- Number is empty;
- Number is not empty.
- Calculation is equal to
- Calculation is not equal to
- Calculation is lower than
- Calculation is higher than
- Calculation is between
- Calculation is not between
- Calculation is valid;
- Calculation is not valid.
When we mention
your filter(s) above, there are some different filters that you can use to make the right comparison:
- Number - Compare with a fixed number that you enter;
- Value - Compare with another block value entered in the form by a respondent (more info).
You can use the calculator block to perform calculations with given answers. The number block supports the following calculation operations:
- Current value - Supply an entered number;
- Compare - Compare a number and output a value based on the result of the comparison;
- Functions - Execute all kinds of mathematical functions to a number.