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.

Create Custom Post Type from Gravity Form

  1. deukdesign
    Member

    I am confused.

    I can easily create my wanted form on GF. Absolutely piece of cake, very nice plugin indeed!

    But then I want to be able to publish the user inputted form value as a post.
    step 1
    In that case I would have to first create a custom post type, its taxonomies and custom fields (using another WPplugin), and then map all these fields to my form, correct? Basically doing the same work twice!
    step2
    Then I create a custom template for this post type in order to show all the normal post and custom fields

    Would it be difficult to have the possibility to create my form in GF, and then generate a custom post type based on that form automatically. It creates the admin menu, the custom fields and taxonomies etcetera. Then I just have to create the template and magic a whole new custom post class!

    Any suggestions for this?

    This would be killer! It would make GF into the absolute main creation tool for custom post types and forms.

    Gideon

    Posted 13 years ago on Thursday March 24, 2011 | Permalink
  2. There is a free Add-On in the WordPress.org plugin repository called Gravity Forms + Custom Post Types that lets you create a custom post with Gravity Forms. You select the Custom Post Type when editing your Post Title or Post Body field and your Custom Taxonomy on the taxonomy fields. Check it out in the WordPress.org plugin repository. It's a 3rd party add-on created by a Gravity Forms user. It works best with Gravity Forms v1.5.

    Posted 13 years ago on Thursday March 24, 2011 | Permalink
  3. deukdesign
    Member

    Yes I know but that does not solve the problem that I have to create every custom field twice, once on my post, and once on my form, granted the plugin allows to pulldown the custom field name from a dropdown, which prevents a lot of typing mistakes.

    But it does nothing in the neighborhood of my suggestion, to create a custom type with its fields and taxonomies directly from a GF form, which would speed up everything.

    Is that possible?

    Posted 13 years ago on Thursday March 24, 2011 | Permalink
  4. You shouldn't have to create it once on your form and once in a post. There is an option when adding a Custom Field to your form to either select an existing one, or add a new one. If you add a new one you give it a name, which is the custom field key used to create the post meta.

    Posted 13 years ago on Thursday March 24, 2011 | Permalink
  5. deukdesign
    Member

    sorry but I am a bit dense
    so if I create a new form
    and on the form I select "save as custom post type" and select "post"
    I then create a custom field, field type Website
    with "custom Field Name" "new " -- GFwebsite
    So if I then go to add new post in the standrad admin interface in the dropdown for csutom fields I would find GFwebsite?

    Posted 13 years ago on Thursday March 24, 2011 | Permalink
  6. Yes, if there is a post that exists with the GFwebsite custom field. The custom field keys that appear in the drop down of available custom fields is based on existing data. So if your form has created a post using that custom field key, it would then also appear in the list of custom fields in the post editor.

    Posted 13 years ago on Thursday March 24, 2011 | Permalink
  7. deukdesign
    Member

    excellent!
    I only thought it worked one way!
    one confusion less to worry about, thanks

    are you guys thinking of making some kind of custom type addon yourself?

    Posted 13 years ago on Friday March 25, 2011 | Permalink
  8. Yes, we have plans for a custom post type/taxonomy Add-On, but it isn't at the top of our list right now especially now that a 3rd party add-on is available and is beginning to turn into a pretty good Add-On.

    Posted 13 years ago on Friday March 25, 2011 | Permalink