Even though this plugin has a wide range of validation functions it's designed to require as little network traffic as possible.This is achieved by grouping together validation functions in "modules", making it possible to load only those functions that's needed to validate a particular form.The implementation itself as well as the Bean Validation API and TCK are all provided and distributed under the Apache Software License 2.0.
Form demos and full documentation available at This plugin can serve as a fallback solution for the validation attributes in the HTML5 spec.
With the html5 module you can use the following native features: Attributes: require, pattern, maxlength, min, max, placeholder Input types: url, date, time, email, number Elements: Use the element - An alternative error message that is used if error Message Key is left with an empty value or isn't defined in the language object.
When your application runs in a Java EE container such as JBoss AS, an EL implementation is already provided by the container.
In a Java SE environment, however, you have to add an implementation as dependency to your POM file.Validating data is a common task that occurs throughout all application layers, from the presentation to the persistence layer.Often the same validation logic is implemented in each layer which is time consuming and error-prone.The information will fade in when input is focused and fade out when input looses focus.Read about how to customize this plugin over at You can cause an element to be validated upon the firing of an event, by attaching an attribute to the form input element named , the click event will trigger the on Blur validaton for that element. Instead of waiting for the checkbox to lose focus (blur) and waiting for a validation to occurr, you can specify that elements validation should occur as soon as that checkbox element is clicked.Note that you also can use inline error messages in your form.