[validation] Validating two interconnected text inputs
Hi all,
I use the excellent jquery.validation plugin
I have the following question. I have textbox a and textbox b. For b i have an ajax validation depending on textbox a.
Now i have a problem. When i insert a value in b which is incorrect for a certain value of a,then i get an error in the ui(which is great), and then i fix the value in textbox a, i have somehow to revalidate the textbox b. Otherwise the error message will remain next to b and i can not submit
How can i make it?
The example of the html is example.html.txt and the javascript is under additional_validations.js.txt. It is a self containing, but not sure a working example. It could illustrate the problem
Thanks,
David