I made a custom class-gf-field-contact with multiple inputs but the $value is always a string, never an array. Even when I duplicate “class-gf-field-address.php”, only change the class name and $type it still doesn’t return $value as an array.
Hi Chris. I Indeed also opened a support ticket.
For the community:
My fields were not showing in the editor until I saved my edits, when I refreshed they were not visible anymore.
What solved this problem was putting the custom fields inside a custom plugin.
The values problem was fixed with this:
IMPORTANT: For this to work you have to remove the field from the form, than add it again. I’ve updated the gist, removed the class-gf-field-ba.php, modified the class-gf-field-contact.php. The contact class works for me, the function “get_form_editor_inline_script_on_page_render” was the missing piece