dojox/validate/check (version 1.10)

Summary

validates user input of an HTML form based on input profile

returns an object that contains several methods summarizing the results of the validation

Usage

check(form,profile);
Parameter Type Description
form HTMLFormElement

form to be validated

profile Object

specifies how the form fields are to be validated {trim:Array, uppercase:Array, lowercase:Array, ucfirst:Array, digit:Array, required:Array, dependencies:Object, constraints:Object, confirm:Object}

See the dojox/validate/check reference documentation for more information.

Method Summary

Methods

Error in the documentation? Can’t find what you are looking for? Let us know!