You could try to implement for completion code as a custom method and
add a rule before the date validation. Or just implement your own date
validation as part of the completion method.

Jörn

On Mon, Sep 8, 2008 at 8:22 PM, Mike Nichols <[EMAIL PROTECTED]> wrote:
>
> Hi
> I have a text field which is evaluated on its onblur event and
> corrected by inserting the default year. So I might enter '0508' and
> it will convert to '05/08/2008' onblur.
>
> The validate plugin is evaluating the field's value before my plugin
> can change it so it says 'Please enter a valid date', as '0508' isn't
> a valid date.
>
> I do have my plugin binding to the onblur event before validate
> (appears first in $.ready) so I am wondering if there is a recommended
> approach for something like this?
>
> Thank you
> Mike
>

Reply via email to