Hey Guys,
I had this exact same problem (was working on this yesterday). I tried the custom validation hook script, but couldn't get it to work.
What I ended up doing was instead of using a datepicker field, just use a normal single text field and apply jQuery UI's datepicker code to it (this will get around the validation issue). You'll need to manually include jQuery UI datepicker widget (41kb in total) and I used this javascript below:
http://pastie.org/6237759
You'll need to update the ID used above to your field's ID. The date won't be validated anymore (besides an empty validation) but you can get away with a custom formatted date.
Here's the URL where I've used this:
http://www.liveca.ca/#book-now
I'm more of a designer than a developer so if anyone has suggestions or improvements please let me know.
Posted 12 years ago on Wednesday February 20, 2013 |
Permalink