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.

Request - Form to Custom Post Type

  1. Hi,

    I am starting a project in which organization and teachers are input and then displayed on the website. My inclination is to create each one as a custom post type. I would LOVE it if I could create a form on the site so when an organization registers it goes right into the DB as a draft in the custom post type area. It looks like I could do this if I labeled everything a post atm...

    Am I missing something?

    Posted 14 years ago on Thursday July 8, 2010 | Permalink
  2. Gravity Forms doesn't currently support custom post types as an admin feature. However, there is a hook you can use to tell Gravity Forms to save the post as a custom post type.

    You can find an example here:

    http://forum.gravityhelp.com/topic/add-a-form-to-create-a-new-custom-post-type#post-3425

    Custom Post Types and Custom Taxonomy support as a feature in the form builder will be coming in a future release. For now it is only possible using PHP and available hooks.

    Posted 14 years ago on Thursday July 8, 2010 | Permalink
  3. GZA
    Member

    I was going to ask the same question, Carl. Good to know custom taxonomies/post support will appear in future.

    One other specific question to my needs:

    I'm planning to set up 5 different custom taxonomy groups and the idea is that submitters will be presented with the tags in each group as options appearing as check boxes.

    Will this be possible when you come to support custom taxonomies?

    Posted 14 years ago on Friday July 9, 2010 | Permalink
  4. Yes, you will be able to use multiple custom taxonomy fields on the same form once we add support for it. Custom Taxonomy is actually the reason why we haven't released support for Custom Post Types yet.

    Custom Post Types are easy, it would just be a drop down selection on the Post Title/Post Body fields similar to selecting Post Status. But Custom Taxonomy are more complex from a UI perspective so we want to make sure we do it in an intuitive manner.

    Posted 14 years ago on Friday July 9, 2010 | Permalink
  5. GZA
    Member

    Great news Carl!

    From a UI perspective, our needs are fairly straight-forward as we plan on offering a predefined list of values for each group, rather than allowing submitters to enter custom tags willy nilly.

    I assume this would be possible?

    Posted 14 years ago on Friday July 9, 2010 | Permalink
  6. Yes, we plan on adding the ability to use drop down, radio button and checkboxes with the post tag field. So it will allow you to predefine the selections rather than them typing them in. Or you can do it how it is now where they type it in themselves. So it will be much more configurable.

    Posted 14 years ago on Friday July 9, 2010 | Permalink
  7. I'm getting very excited.. support for custom post types and taxonomies along with paypal/google checkout integration would literally change my life ;-)

    I'll be cheering over here on the sidelines until these are released.

    thanks again for all you guys do

    Posted 14 years ago on Saturday July 24, 2010 | Permalink