Examples

This example creates a google map field, replacing fields with a google_map custom CSS class. This example is not intended to be fully functional, but to demonstrate what can be accomplished with this hook. In combination with some other Administration hooks, this hook can be used to create completely custom field types, such as a Map field type.

This example creates a hidden field on the form using a specific name. Please note: if you use a custom name attribute then Gravity Forms won’t know how to access the value so it will not be saved during form submission.