How to solve problem when use jquery datepicker and validation in the same time

Posted by uyquoc on Stack Overflow See other posts from Stack Overflow or by uyquoc
Published on 2010-03-30T02:54:31Z Indexed on 2010/03/30 3:03 UTC
Read the original article Hit count: 255

Filed under:

When I used datepicker with trigger icon so that users could choose date from clicking this icon or type directly in textbox (txtDate), I also used jquery validation to require textbox must be not empty. But when a user submit the form with empty textbox (txtDate.Text=""), the error message of validation push trigger icon to the right. Could you tell me the solution? Thank you very much!

© Stack Overflow or respective owner

Related posts about jquery-validate