jQuery.Model.static.validateFormatOf  function     

Validates where the values of specified attributes are of the correct form by matching it against the regular expression provided. See [validation] for more on validations.

$.Model.validateFormatOf(attrNames, regexp, options) -> undefined
{Array|String}

Attribute name(s) to to validate

{RegExp}

Regular expression used to match for validation

{Object}

(optional) Options for the validations. Valid options include 'message' and 'testIf'.

{undefined}
© Jupiter IT - JavaScriptMVC Training and Support