Read the setup guide if you want to know which configuration options that are available when setting up the validation.
Here you can read more about styling of the form and error dialogs.
Even though this plugin has a wide range of validation functions it's designed to require as little network traffic as possible.
The option of using pure HTML, sometimes with a touch of CSS, to complement Java Script form validation was until recently unthinkable.
Sure there have been all kinds of whacky plug-ins over the years aimed at achieving this, but never a single standard that we could work towards.
The simplest change you can make to your forms is to mark a text input field as 'required': This informs the (HTML5-aware) web browser that the field is to be considered mandatory.
Different browsers may mark the input box in some way (Firefox 4 Beta adds a red box-shadow by default), display a warning (Opera) or even prevent the form from being submitted if this field has no value.
This plugin is available through cdnjs, npm, bower and github.
Before you ask, and someone always does, these examples will currently work in the following browsers: Safari 5, Chrome 6, Opera 9, Firefox 4 Beta and the i Phone/i Pad.
Also each browser has a slightly different default behaviour.
By default, the invisible fields belonging to inactive regions will be ignored by Form Validation, we need to set . In order to validate particular region, we can use validate Container(container) method.
Then use is Valid Container(container) method to determine the container is valid or not.