Namespacedojox.validate

Additional input validation methods

Jump to PropertiesJump to FunctionsNamespacesBack to top

Methods specific to the Canadian provinces

Jump to PropertiesJump to NamespacesFunctionsBack to top

Functiondojox.validate.check(form, profile: Object)
validates user input of an HTML form based on input profile
Functiondojox.validate.evaluateConstraint(profile, constraint: Array, fieldName, elem)
Evaluates dojo.validate.check() constraints that are specified as array arguments
Check if value is an email address list. If an empty list is returned, the value didn't pass the test or it was empty.
Checks if a string could be a valid email address
Checks if a string could be a valid email address list.
Validates whether a string denoting an integer, real number, or monetary value is between a max and min.
Validates an IP address
Validates any sort of number based format
Checks if a string has non whitespace characters. Parameters allow you to constrain the length.
Checks if a string could be a valid URL
checks if value matches the pattern for that card or any card types if none is specified
Vadlidate ISBN-10 or ISBN-13 based on the length of value
Compares value against the Luhn algorithm to verify its integrity

Jump to FunctionsJump to NamespacesPropertiesBack to top

Validate various credit card types