clientcide icon indicating copy to clipboard operation
clientcide copied to clipboard

FormValidator.Tips Not clearing on call to reset()

Open ghost opened this issue 15 years ago • 0 comments

Making use of the FormValidator.Tips extension to use error tips instead of the default FormValidator messages.

I'm calling validatorInstance.reset(); to clear the validation results on my form.

Problem is that calling reset() doesn't clear the pointy tip display. Is there an easy way to either:

A) Clear All Pointy Tips ?

or

B) Make reset() clear a validator instances pointy tip ?

I'm using the standard display one error tip at a time best practice.

Heres the mooshell: http://mootools.net/shell/Dt4uQ/

To reproduce:

Click form 1 email field, tab out to trigger validation tip.

Click form 2 email field. Triggers click handler to call to activationValidator.reset()

Note the css class validation-failed is removed, but the pointy tip remains.

ghost avatar Feb 04 '10 23:02 ghost