Note: This article applies to the new Form Step experience in Streamline.
Number fields allow you to collect numeric input from users in your forms.
They’re ideal for capturing information such as quantities, amounts, percentages, or any other data that requires number-specific formatting and validation.
Adding a Number Field
- In the form editor, click Add Field.
- From the Basic Fields section, select Number.
- The field will appear on your form, ready for customization.
Customizing Field Properties
After adding the field, you can edit its properties directly within the form builder.
You can:
- Change the title of the field to specify the type of numeric input required.
- Add placeholder text to show an example of the expected format (for example, “Enter a whole number” or “Enter amount”).
- Include helper text below the field to provide additional context or instructions.
To the right of the field title, you’ll also find quick-access icons to manage visibility and behavior:
- Toggle Required on or off.
- Click the eye icon to hide or show the field.
- Click the lock icon to make the field read-only.
- Click the two boxes to duplicate the field.
- Click the trash can to delete it.
Field Settings
In the field settings panel on the top right, you’ll find additional options to control how the field behaves:
- Data Mapping Label: Add an internal label for data mapping or CSS targeting.
- Default Value: Pre-fill the field with a starting number or default amount.
- Numeric Range: Set a minimum and maximum value to control the range of acceptable inputs.
- Decimal Places: Specify how many decimal places are allowed in the user’s response.
These settings ensure that your numeric fields capture accurate, consistent data that meets your form’s requirements.
Tips for Using Number Fields
- Use number fields for numeric data only; for mixed input (like text and numbers), use a Short Answer field instead.
- Add helper text or a placeholder to clarify expected units (for example, “Enter quantity in units” or “Enter amount in USD”).
- Use numeric range limits to prevent invalid entries or out-of-range responses.
- Enable decimal places only when needed — keeping inputs whole simplifies data entry and validation.
Comments
0 comments
Article is closed for comments.