Validations

Here are validations you can added to your inputs:

NameDescriptionValid for
RequiredMakes the element requiredtext inputs, selects, checkboxes and radio buttons
EmailMakes the element require a valid emailtext inputs
URLMakes the element require a valid urltext inputs
DateISOMakes the element require an ISO datetext inputs
NumberMakes the element require a decimal numbertext inputs
DigitsMakes the element require digits onlytext inputs
MinlengthMakes the element require a given minimum lengthtext inputs, selects and checkboxes
MaxlengthMakes the element require a given maximum lengthtext inputs, selects and checkboxes
RangelengthMakes the element require a given value rangetext inputs, selects and checkboxes
MinMakes the element require a given minimumtext inputs
MaxMakes the element require a given maximumtext inputs
RangeMakes the element require a given value rangetext inputs
StepMakes the element require a given steptext inputs, number and range
EqualtoRequires the element to be the same as another one

Tip: You can combine as many validations as needed. Form will validate fields once user clicks on 'Calculate' button.

Back to top