Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/validate/check.js

  • Provides:

    • dojox.validate.check
  • Requires:

    • dojox.validate._base in common
  • dojox.validate.check

    • parameters:
      • form: (typeof HTMLFormElement)
        form to be validated
      • profile: (typeof 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}
    • returns
      Object
    • summary
      validates user input of an HTML form based on input profile
    • description
      returns an object that contains several methods summarizing the results of the validation
    • type
      Function
  • dojox.validate.evaluateConstraint

    • parameters:
      • profile: (typeof The)
        dojo.validate.check() profile that this evaluation is against.
      • constraint: (typeof Array)
        The single [] array of function and arguments for the function.
      • fieldName: (typeof The)
        form dom name of the field being validated.
      • elem: (typeof The)
        form element field.
    • returns
      Boolean
    • summary
      Evaluates dojo.validate.check() constraints that are specified as array
      arguments
    • description
      The arrays are expected to be in the format of:
      constraints:{
    • type
      Function
  • dojox.validate

    • type
      Object
  • dojox

    • type
      Object