1 2 3 |
<input id="email" type="email" name="email" data-validation-engine="validate[required,custom[email]]" data-errormessage-value-missing="Email is required!" data-errormessage-custom-error="Let me give you a hint: [email protected]" data-errormessage="This is the fall-back error message." /> |
The following attribute’s value will be loaded for the relative validation rule:
data-errormessage-value-missing
- required
- groupRequired
- condRequired
data-errormessage-type-mismatch
- past
- future
- dateRange
- dateTimeRange
data-errormessage-pattern-mismatch
- creditCard
- equals
data-errormessage-range-underflow
- minSize
- min
- minCheckbox
data-errormessage-range-overflow
- maxSize
- max
- maxCheckbox
data-errormessage-custom-error
- custom
- ajax
- funcCall
data-errormessage
- a generic fall-back error message