Number
The use of a Number element on a form is a type of input field designed to accept numeric values, allowing your vistiors to enter numbers.
This type of field is typically used when the expected input is numerical in nature, ensuring that the visitor can only enter valid numbers.
Use cases include:
- Number of Employees
- Order quantity
- Price or cost
- Score or rating
Add a Number Element to your Form
To add a Number element to your form select the orange + icon within the builder and then select "Number".
Once added you can then edit the fields settings on the right hand side of the screen.
Number Element Settings
Under the number settings there are various options to set.
These include:
- Field Label: Value that is always visible to persons filling in your form
- Field Placeholder: If you would like to specify a placeholder that is different from the Field Label, this is the place to do that, but specifying a placeholder is optional.
- A common case for specifying a placeholder is to provide further instruction or a hint to the persons filling in your form
- Field Name: The Field Name is "behind the scenes"
- The field name is not shown to persons filling in your form
- Map to Field: Choose the field in Paminga you would like to map this data to when the form is submitted
- Available fields to map to will be any number standard or custom fields
- Default Value: If you choose to set a Default Value, this field will be pre-filled with that value when the form is rendered
- Pre-Populate This Field: Checkbox. Paminga may be able to recognize the website visitor submitting your form. When this is the case, you can have Paminga pre-populate fields with values that are already known for that person
Validation Rules
Within the Number Field Settings you can set validation rules for the persons submitting the form.
Layout
Under the layout tab you have the ability to edit the layout of the field on the form.
Conditions
By default the field is set to show always. That said, you have the ability to edit the fields visibilty to conditionally display.
If you would like to edit the visibilty of the form field update the settings under the conditions tab.