Hello! How can we help?

Search our knowledge base for loads of useful advice and answers to common questions

If you're still stuck you can always submit a support request and we'll get back to you ASAP

Number answer component - how it works

Chris Neil -

The number answer component appears under the "Text box" heading in the list of answer components.

Screenshot showing number component highlighted in dropdown list of answer components

The field has validation to only accept numbers as digits (e.g. 3), with respondents seeing an error message if they try to enter a non-numerical answer (e.g. three). On most modern mobile browsers, it will bring up a number keyboard for respondents to input their answer.

Screenshot showing validation message above number component

The default setting is to only permit whole numbers zero and above (eg. 5 or 57 or 500). If you want to configure it to allow numbers with decimal places (e.g. 5.5. or 57.99), un-tick the checkbox that says "Only allow whole numbers". If you want to configure it to allow numbers below zero (e.g. -1), delete the "0" from the field labelled "Minimum value".

Screenshot showing settings page when adding or editing a number component

Settings can also be customised to include minimum and/or maximum values that will be accepted, such as to restrict respondents to numbers that lie within a set range.

Screenshot showing error messages if respondent has not met min or max value requirements

One important thing to note: the number answer component should only be used when asking for data that has a numeric value, for example when asking about quantities of people or things, such as "how many employees do you have?".

To collect numbers that are used for identification, e.g. ID numbers or telephone numbers, you should still use the single line text component. This is because the .xlsx export will treat data collected by the number component as a number which could lead to issues, such as it removing the starting 0 or + from telephone numbers, for example.