PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to change date format for custom field with gform_post_data?

  1. 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?

    Posted 12 years ago on Tuesday June 26, 2012 | Permalink