Validating with a-la-carte constraints
var myConstraints = {
login : { required:true, size:6..10 },
password : { required:true, size:6..10 }
};
prc.results = validate( target: user, constraints: myConstraints );Last updated
Was this helpful?
var myConstraints = {
login : { required:true, size:6..10 },
password : { required:true, size:6..10 }
};
prc.results = validate( target: user, constraints: myConstraints );Last updated
Was this helpful?
Was this helpful?