You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when required is not specified undefined is invalid
when required:false undefined is valid
when required:false null is valid
when required:true undefined is invalid
when required:true null is invalid
Backbone.Validation also comes with some common patterns included: url, email and number. Instead of specifying a regular expression, specify the name of the pattern you want to use: