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/ca.js

  • Provides:

    • dojox.validate.ca
  • Requires:

    • dojox.validate._base in common
  • dojox.validate.ca.isPhoneNumber

    • parameters:
      • value: (typeof String)
    • returns
      Boolean
    • summary
      Validates Canadian 10-digit phone number for several common formats
    • type
      Function
  • dojox.validate.ca.isProvince

    • parameters:
      • value: (typeof String[2])
    • returns
      Boolean
    • summary
      Validates Canadian province abbreviations (2 characters)
    • type
      Function
  • dojox.validate.ca.isSocialInsuranceNumber

    • parameters:
      • value: (typeof String)
    • returns
      Boolean
    • summary
      Validates Canadian 9 digit social insurance number for several
      common formats
    • description
      Validates Canadian 9 digit social insurance number for several
      common formats. This routine only pattern matches and does not
      use the Luhn Algorithm to validate number.
    • type
      Function
  • dojox.validate.ca.isPostalCode

    • parameters:
      • value
    • returns
      Boolean
    • summary
      Validates Canadian 6 digit postal code
    • description
      Validates Canadian 6 digit postal code.
      Canadian postal codes are in the format ANA NAN,
      where A is a letter and N is a digit, with a space
      separating the third and fourth characters.
    • type
      Function
  • dojox.validate.ca

    • summary
      Module which includes Canadian-specific methods for dojox.validate
    • type
      Object
  • dojox.validate

    • type
      Object
  • dojox

    • type
      Object