Hi !
I'm facing an issue with Form.Validator. In the doc
http://www.mootools.net/docs/more125/more/Forms/Form.Validator they explain for example with "required" that an error message should show up (
http://www.mootools.net/docs/more125/more/Forms/Form.Validator#Validators:required) but in my case nothing appear how should I do to get it ? Just to be clear I'm not using Form.Validator.Inline but just Form.Validator. All tuto on the internet use the Inline version, but I don't need all this.
My second issue, that is more important for me is that I use onElementValidate on my Form.Validator to do some addClass and removeClass. But if an input has more than one validator like "required validate-numeric" the onElementValidate will be called twice, and for an empty field, it will not pass the first time but will the second (for validate-numeric). So as I simply do if(passed){...}else{...} you can see the problem, as it's called twice and one time passes and not the other, it's doing something and undoing it...Is there a way to check if at least one validation failed ?
Thanks a lot for your help