PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Creating custom field type

  1. mark_mpn
    Member

    I am looking at the possibility of creating a plugin for Gravity Forms that will add a new custom field type to the list of possible field types that can be used within a form. I haven't been able to find any documentation on your site that indicates either if this is possible, and if so, what type of Gravity Forms license would I need in order to do my development. Could you please point me in the right direction?

    Posted 13 years ago on Thursday May 19, 2011 | Permalink
  2. Yes, it is possible to create and add a custom field type to Gravity Forms. The hook you would use is gform_add_field_buttons and the documentation is here:

    http://www.gravityhelp.com/documentation/page/Gform_add_field_buttons

    It is, however, a more advanced customization and we don't currently have a tutorial that discusses how to do this step by step. But it is something that would make a good tutorial so I will discuss this with the team and we can look into writing one up.

    Posted 13 years ago on Thursday May 19, 2011 | Permalink
  3. Any advance on this? Adding the button is simple, but you're right - I followed the trial some way to work out the rest, and it's complex. Has anyone done a tutorial, or even given a few pointers?

    Posted 13 years ago on Saturday July 30, 2011 | Permalink
  4. I don't know if this is out of date, but somebody created a tutorial here:
    http://wpsmith.net/2011/plugins/how-to-create-a-custom-form-field-in-gravity-forms-with-a-terms-of-service-form-field-example/

    Posted 12 years ago on Tuesday July 17, 2012 | Permalink

This topic has been resolved and has been closed to new replies.