I am creating CPT "Events" from the frontend using Gravity Forms. Now GF allows only certain date formats for the date field and I want a different format.
Tried using the pre_submisison hook but I guess the date formatting is fired after that one because it did not work.
I think I need to use the gform_post_data filter but the documentation only shows examples for the standard post fields and not how to populate a custom field.
Can you give me some direction in how to use gform_post_data with custom fields?