I’m trying to extend the existing GF_Field_Email field without creating a new custom field. The only examples I have found are for adding custom settings to ALL form fields - but I only want the new option to show up for the built-in Email form field. I am creating a full custom plugin for GF and have that all set-up, I just have no idea how to include this ^
Thanks in advance <3
To clarify, you want to add a custom setting in the Form Editor’s field settings for the Email field? Something like this?
Yup! The image is broken but your synopsis is correct.
This is pretty old (and it looks like the code formatting is a little wonky) but it’s still the most thorough walkthrough on creating custom field settings for Gravity Forms: https://wpsmith.net/2011/how-to-create-a-custom-form-field-in-gravity-forms-with-a-terms-of-service-form-field-example/