JS date format in dynamic field CF7

  contact-form-7, date, javascript, wordpress

this time i have question how to convert date into dynamic field by "m-d-Y".

CF7 code

<label>Date of Birth</label>                     
   [date* date-dob class:form-control placeholder id:idate "mm/dd/yyyy"]
   [dynamictext xxx id:pdfdate "date-dob format='m/d/Y'"]

output result :
The result in dynamic field is not "m/d/Y" there is come by default "Y-m-d".

Thank you for any help.

Source: Ask Javascript Questions

LEAVE A COMMENT