Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Date Field

    If a value is specified in a date field, the value must be in YYYY-MM-DD format (e.g. 2013-04-08).

    Thread Starter jd1977

    (@jd1977)

    Thanks Takayuuki, that´s a huge help! Regards Jens

    So why does it HAVE to be YYYY-MM-DD?

    Because Chrome uses the OS’s date format any form submitted from Chrome using the HTML5 picker on a system that is not using YYYY-MM-DD fails.

    I was able to set the Jquery datapicker in CF7 to submit the date as DD-MM-YYYY which would match what would be submitted from Chrome in my country, and then I thought I would alter the validation script to match but I am not having any luck with that as I can’t locate what code I should be changing.

    It is seeming to me that I because I am in a country that uses DD-MM-YYY on most of its systems, that until I nut out the validation I am not going to be able to use a date picker at all in CF7, either JQuery or HTML5.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Date format seems invalid?’ is closed to new replies.