Bit Form - Number field
Number field is one of the most commonly used types of field available in form builder, and its main purpose is to allow the user to enter an integer / numerical value in the field. Number fields are used to capture numbers like quantity, price, number of hours etc. It is a mandatory field in any form.
⚙ General Settings
The Field Key is unique for all fields.
bf4-1 an example of field key. bf means
bit form , 4 represent
form id , 1 represent
1st field of the form . These keys are used in
You can set a proper name of the field that is considered as a field label. This label name will appear on the front end of the form you will display. If you want you can hide the field label from the form .
This field is used for Administration purposes. Admin can set a label to specify the label name on the responses page.
By enabling this option, you can make the field required for the user if you need it. Also you can set an
Error message if you want the field required. Also you can set message as your requirements.
To suggest auto field value from the browser, you need to enable the
Placeholder is a property by which user can understand the usage of the field. Any text entered on the placeholder will be displayed on the fields. When the user starts writing on the field, the placeholder text will disappear.
You have to set the boundary of minimum & maximum number. Users can only input numbers between that boundary. Also you can set an
Error message if a user exceeds the number limit. Also you can set message as your requirements.
NumberField supports a custom Regex Pattern. We have added a suggestion list of predefined patterns:
- Only Characters (a-zA-Z)
- Only Digits (0-9) - only full number, no decimal value
- Name - only characters & space
- Username - only lowercase characters & numbers
- Character Limit - default is set to a maximum of 100 characters
- Word Limit - default is set to a maximum of 30 words
- Only Gmail - only allows Gmail address
After selecting any predefined pattern, you can customize those too.
For each pattern, the user can set
Flag to control how the regex pattern will work for the text field.
g( global)- With this flag, the search looks for all matches, without it – only the first match is returned.
i (case-insensitive)- With this flag, the search is case-insensitive: no difference between A and a.
s(single line)- Enables “dot all” mode, which allows a dot . to match newline character \n.
m (multi line)- Multiline mode.
u (unicode)- Enables full Unicode support.
y (sticky)- “Sticky” mode: searching at the exact position in the text.
9. Unique Entry Validation:
You can validate whether entry is unique or not by turning on this option.