how to use monthNames in jqgrid when validating date?

Posted by Sasha on Stack Overflow See other posts from Stack Overflow or by Sasha
Published on 2010-06-14T21:32:06Z Indexed on 2010/06/14 23:42 UTC
Read the original article Hit count: 300

Filed under:
|

Hi all.

In my jqgrid when i am clicking on add new record i have date field prepopulated with current date. Format of the date is yyyy-MMM-d (e.g. 2010-Jan-23). Date is required field and when i click submit button it fails validation and displays error that this date is invalid, and it wants Y-m-d format.

How can i check my value with jqgrid? In other words how to make jqgrid accept the following date format when validating 2010-Jan-23?

Thanks.

© Stack Overflow or respective owner

Related posts about validation

Related posts about jqgrid