I have a similar situation with a timepicker control.  I have a text
input and an image that displays a popup when selected.
The popup fills the input field when a selection is made.  The
timepicker control allows me to define a callback whenever this
occurs.

I use the callback to force validation as follows:

function() { $datefield.change(); $myform.validate().element('#'
+datefieldid); });

The $datefield, $myform, and datefieldid are all available via closure
in my case.

~Rob

On Dec 4, 3:41 am, sucheta <suchet...@yahoo.com> wrote:
> Hello all,
>
> I am using the 
> JQueryvalidator fromhttp://bassistance.de/jquery-plugins/jquery-plugin-validation/
> . And I am using the calandar component from YUI.
>
> The problem is similar to what bobbykjack has .
>
> 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?.
>
> Thanks in advance .
> Sucheta

Reply via email to