• Anonymous User 11187416

    (@anonymized-11187416)


    Hi there,

    I’ve set up a CF7 Form with an <input type="date"> field.

    As it’s a UK based website the date format needs to be in dd/mm/yyyy.

    Fine so far. Form sends no problem in Chrome, but when the same input is put into Firefox, I get the message

    date format seems invalid

    I don’t know whether I need to dynamically reformat this to yyyw-mm-dd onSubmit but that seems a bit hacky.

    Any guidance, please?
    Thanks,

    Martin

    https://wordpress.org/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Refer http://contactform7.com/date-field/ – DD-MM-YYYY format is not supported.

    The new CF7 date tag is a HTML5 date input type which currently has only limited cross-browser support. See http://www.wufoo.com/html5/types/4-date.html for the low down on this new HTML5 form element.

    Thread Starter Anonymous User 11187416

    (@anonymized-11187416)

    Seems a bit odd though that Chrome accepts dd/mm/yyyy but not FireFox or IE11.

    I appreciate we’re working with in-development technology but consistency would be nice, no?

    Thanks for your reply, it was as I thought might be the case.

    Martin

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

The topic ‘Date Format Seems Invalid (FireFox Only)’ is closed to new replies.