Hello all! I just found this topic related to my issue but did not help me much http://www.gravityhelp.com/forums/topic/date-field-to-custom-post-date-field-problem-from-date-to-unix
I've a form configured to create a new custom post type object [saveAsCPT] => desafio
In this form I've a date field [type] => post_custom_field
to save a [postCustomFieldName] => data_limite
http://pastie.org/6451207
I hooked a function in gform_pre_submission_6
action http://pastie.org/6451516 to convert field date to format that I need http://pastie.org/6451625
But when submitted the form, the custom field data_limite
is not created to the new post.
When the function la_convert_field_date
isn't executed in gform_pre_submission_6
hook then the custom field is saved.
Thanks in advance for any help!