I've created a form using a number of custom input fields.
The fields add ok through the form editor and appear ok on the front end.
When the form is submitted - I get the admin notice/email saying the form is submitted but the custom input fields are not in the email.
Additionally the custom fields are not populated in the entries section in the dashboard.
There appears to be a few people with similar issues but I can't understand the solutions that have been proposed to them - or why they work. This is an example
I have no idea if I need to use the gform_editor_js_set_default_values filter.
Here is my code
It basically creates 5 custom input fields (select boxes) that are populated from a third party system (this works) then tries to submit the form back to the system (which works).
It just doesn't save the values with the entry.
Any help would be greatly appreciated.