Closed vlascik closed 8 years ago
Remote requests fire even if previous validations in the chain fail, e.g. in rules: 'required|email|username_available' even if email fails,username_available fires a request to server anyway, which stresses the server needlessly.
rules: 'required|email|username_available'
email
username_available
Yes that is a bit silly. Support needs to be added upstream in skaterdav85/validatorjs/issues/63
ok, you're right, i'll close it here
Remote requests fire even if previous validations in the chain fail, e.g. in
rules: 'required|email|username_available'
even ifemail
fails,username_available
fires a request to server anyway, which stresses the server needlessly.