Form validating

The “validation descriptor” is nothing but a string specifying the type of validation to be performed.

Each field in the form can have zero one or more validations. More info & downloads where Do My Validation One() and Do My Validation Two() are custom functions for validation.

When using these kind of components, the form fields are split into multiple regions which there is only active, visible one at any time.

focus Invalid focuses elements when submitting an invalid form.

Use the debug option to ease setting up validation rules, it always prevents the default submit, even when script errors occur.

If you’re not familiar with Maven, refer to Building Java Projects with Maven. This makes it easy to ship, version, and deploy the service as an application throughout the development lifecycle, across different environments, and so forth.

Using client side Java Script is an efficient way to validate the user input in web forms.

Leave a Reply