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

  • Provides:

    • dojox.validate.us
  • Requires:

    • dojox.validate._base in common
  • dojox.validate.us.isState

    • parameters:
      • value: (typeof String)
        A two character string
      • flags: (typeof Object)
        An object
        flags.allowTerritories  Allow Guam, Puerto Rico, etc.  Default is true.
        flags.allowMilitary  Allow military 'states', e.g. Armed Forces Europe (AE).  Default is true.
    • returns
      Boolean
    • summary
      Validates US state and territory abbreviations.
    • type
      Function
  • dojox.validate.us.isPhoneNumber

    • parameters:
      • value: (typeof String)
        The telephone number string
    • returns
      Boolean
    • summary
      Validates 10 US digit phone number for several common formats
    • type
      Function
  • dojox.validate.us.isSocialSecurityNumber

    • parameters:
      • value: (typeof String)
    • returns
      Boolean
    • summary
      Validates social security number
    • type
      Function
  • dojox.validate.us.isZipCode

    • parameters:
      • value: (typeof String)
    • returns
      Boolean
    • summary
      Validates U.S. zip-code
    • type
      Function
  • dojox.validate.us

    • type
      Object
  • dojox.validate

    • type
      Object
  • dojox

    • type
      Object