- srfm_enable_redirect_activation
- sureforms_plugin_action_links
- srfm_quick_sidebar_allowed_blocks
- srfm_integrated_plugins
- srfm_suretriggers_integration_data_filter
- srfm_form_submit_response
- srfm_enable_gutenberg_post_types
- srfm_languages_directory
- srfm_form_template
- srfm_disable_nps_survey
Number Field
The Number field in SureForms allows users to enter numeric values only. It’s useful for collecting data like age, quantity, budget, or any other numerical input.
Key Attributes
- Default Value:
Set a predefined value for the field. You need to enter it manually. - Read Only:
Make the field non-editable on the frontend. Requires a Default Value. - Prefix Label:
The Prefix Label in the Number field adds a static text or symbol before the user’s input—commonly used for units or currency indicators (e.g., $, ₹, or Qty). It helps users understand the context of the number they’re entering and improves the clarity of the form. - Suffix Label:
The Suffix Label in the Number field lets you display text immediately after the number input, such as “kg”, “years”, or “%”. This helps users understand the unit or context of the number they are entering. The label is visual only and does not affect the stored value. - Required:
Ensure users must fill in this field before submitting the form. - Number Format:
The Number Format setting controls how the numeric value is displayed in the form. You can choose one format from the dropdown:
US Style (e.g., 9,999.99) – Uses commas for thousands and a period for decimals.
EU Style (e.g., 9.999,99) – Uses periods for thousands and a comma for decimals.
This is a display setting only and helps users enter numbers in a familiar format based on their locale. - Minimum Value:
The Minimum Value setting defines the lowest number a user is allowed to enter in the Number field. This helps enforce data limits—for example, ensuring that age cannot be less than 18 or quantity cannot be below 1. If a user enters a number below this limit, the form will show a validation error and prevent submission. - Maximum Value:
The Maximum Value setting defines the highest number a user is allowed to enter in the Number field. If a user tries to enter a value above this limit, the form will show a validation error and prevent submission. This is useful for restricting inputs like age limits, budget caps, or quantity thresholds. - Help Text:
Help Text is a message you can show below any Number field to guide users on what to enter.
Was this doc helpful?
What went wrong?
We don't respond to the article feedback, we use it to improve our support content.
On this page