There are a couple ways of doing it. You could create a function and use the gform_pre_submission_filter to convert your date field to a format more compatible with your other application, then store that date in the entry and transfer that to your other application.
http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter
You could do it with the mask, although you could end up with invalid birth dates like 99242019 - I don't like that idea too much.
There is also a way to store the data as you are now, in the entry, but modify it before it is displayed in the admin.
http://www.gravityhelp.com/documentation/page/Gform_get_input_value
http://www.gravityhelp.com/documentation/page/Gform_save_field_value
Depending on when you are sending the data to the other application, this may or may not work for you.
I think I would use gform_pre_submission_filter and just convert the data and store it in a hidden field, then send that to your other application.
Posted 11 years ago on Tuesday January 15, 2013 |
Permalink