Written by The Jahia Team
 
Developers
Sysadmins
Marketers
   Estimated reading time:

In Forms 2.7 the numeric input field was introduced, numeric values in the text input field continue to be supported, but this makes it easier to specify numeric inputs and map the to jExperience.  Validation options are the same as found on text input fields.

Number Input.PNG

Design

In addition to the standard attributes, the number input field allows you to specify the maximum and minimum values allowed and the increments by which they can be entered.

numeric input design1.PNG

Validations

Validation rules give you control over the range of values accepted by the field in addition to controling whether the field is required and what other form values it should be compared to.

numeric validation.PNG