Hello all, I am using the JQuery validator from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ . And I am using the calendar component from YUI.
The problem is similar to what bobbykjack has except I use YUI calendar. I have an input field ,when user clicks into it the calendar pops up. When user chooses a date it fills the input box. But the error message which had been displayed on clicking the submit button before the field was filled does not go away. How do I get rid off it?. I click into the field and then do a submit the message goes away ,submission happens . But not after the calender has populated it. Thanks in advance . Sucheta On Nov 19, 8:53 pm, bobbykjack <bobbyj...@gmail.com> wrote: > OK, my requirement is wildly advanced, but I need to combine theui > datepicker with the validation plugin. Ultimately, I need to ensure a > date is at least 1 month in the future. > > The problem I'm encountering is the exact ordering of events. It > appears as if the validator check's the input's data before the > datepicker has written to it (after a date has been picked). > > There's a demo > here:http://www.fiveminuteargument.com/jquery-validation-date-picker.html > > and you should notice the problem (the date 'seen' lagging behind by > one) once you've picked the second date, and onwards. > > Any advice much appreciated, > > - Bobby