I have a date field on a front end form, currently with this HTML:
<input class=" date-picker startDate" type="text" id="startDate" name="fields[startDate]" value="">
I use a JQuery date-picker and have set its format to dd/mm/yyyy
The date displays in the field this format correct, but upon saving no date is saved. I guess its due to the format not being Crafts yyyy-mm-dd because if I set the date-picker format to this, it does save it OK. BUT I obviously dont want to display my dates like this.
How can I display dates in correct human date format in the fields, and save them to the DB correct? Do I need to process all dates in PHP in a plugin to the correct format first?
The field in Craft admin for the entry displays d/m/y OK and that saves.