Functiondojox.validate.ca.isPostalCode

dojo.require("dojox.validate.ca");
defined in dojox/validate/ca.js

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.

Usage

function (value) (view source)
parametertypedescription
value