Force date field to format the date as yyyy-mm-dd

Hi everyone,

I have a multi-page form with conditional logic.

One of the pages has a single date field for asking for DOB.
My client would like the field to be formatted as MM/DD/YYYY when filling out the form, but formatted as YYYY-MM-DD in the WordPress dashboard and in the notification email.

I’ve not been able to figure out how to do this. Any help would be appreciated.

Thank you

The date field merge tag does support including the desired output format as a modifier e.g. {date:1:ymd_dash}

There isn’t an option like that for how the entry value is displayed in the admin but you could use the gform_entries_field_value and/or gform_entry_field_value filters in the theme functions.php file or a custom functions plugin to reformat the value using custom code.