You need to attach an event listener to the reset button to call the
.reset method on your validator instance.



On May 19, 2012, at 2:43 PM, Douglas Machado <machad...@gmail.com> wrote:

> Greetings,
>
> I'm using MooTools 1.4.5 (included in Joomla 2.5) and the MooTools
> Form.Validator.
>
> In testing a form and I notice that if there are error messages, i.e.
> an email is invalid, and I complete the rest of the form to send, when
> I click on the "reset" button, the info in the boxes clear, however,
> the error messages still remain...they do not clear.
>
> I've added part of the script to jsfiddle:
> http://jsfiddle.net/machadoug/EreY9/1/
>
> Thanks in advanced for your help.
>
> Best regards,
>
> Douglas

Reply via email to