DiegoLopesLima / validate

A simple jQuery plugin to validate forms.
301 stars 217 forks source link

validateDestroy don't unbind submit event #25

Closed Mytia closed 11 years ago

Mytia commented 11 years ago

When I dynamically add fields that require validation to form, it turns out that I need to restart validate. As far as I understand it, to avoid the two validation objects, I should use validateDestroy function. But it don't unbind submit event and it call valid function as many times as I call validate function on the form. Maybe I misunderstood something....

DiegoLopesLima commented 11 years ago

May you send me the used version? And if possible, send me also a snippet of the code...

Mytia commented 11 years ago

No, it's fine in the latest version, it seems the error was in my own code, I'm sorry to bother you.

DiegoLopesLima commented 11 years ago

There is nothing to apologize for. ;-)