Number
The number field accepts numeric input with optional formatting like currency symbols, percentage signs, or custom prefixes and suffixes. It prevents invalid input as the respondent types — no error messages needed for basic mistakes.
Adding a number field
- Click the + button between blocks, or
- Type
/numberand select Number from the list
Settings
- Min value — optional lower bound
- Max value — optional upper bound
- Format — choose a preset (Number, Decimal, %, $ USD, € EUR, £ GBP, ¥ JPY) or select Custom to configure each setting individually. Selecting a preset fills in the prefix, suffix, decimal places, separator, and padding automatically. You can tweak any value after selecting a preset
- Prefix — text displayed before the number (e.g.
$,€). Max 5 characters - Suffix — text displayed after the number (e.g.
%,kg). Max 5 characters - Decimal places — None (integers only), 1–5, or Any
- Decimal separator — Period (
.) or Comma (,). Only shown when decimals are allowed - Pad decimals — when enabled, pads the value (e.g.
5becomes5.00with 2 decimal places). Only shown when decimal places is 1–5
The default format is Number (whole integers, no prefix or suffix). The Format, Prefix, Suffix, Decimal places, Decimal separator, and Pad decimals settings are hidden until you select a format other than Number.
Display formatting
When showing number values outside the input (in answer piping, confirmation screens, or responses), FormGrid applies the field’s formatting: prefix, suffix, decimal padding, and separator.
For example, a field configured with prefix: "$", decimalPlaces: 2, padDecimals: true would display the stored value 25.5 as $25.50.
In the responses dashboard
Number responses show a stats card with the average, minimum, and maximum values — all formatted with the field’s prefix, suffix, and decimal settings.
Tips
- Use the Format presets for common cases — they set up the right prefix, suffix, separator, and padding automatically based on your form’s language
- For plain quantities or counts, the default Number format (integers, no prefix/suffix) works great
- Decimal padding is recommended for currency fields to ensure consistent formatting (e.g. always showing
$5.00instead of$5) - Set Min value to
0if negative numbers don’t make sense for your field - The number field stores plain numbers — prefix and suffix are display-only and don’t affect the stored data