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.

Using list fields for posts and custom fields

  1. I've searched fairly extensively, and found a bit of information about this, but I'm not 100% sure if I have it correct.

    I want to use a form that contains list fields to create custom posts and preferably a separate post for each row of the list. We want to store this info as a sort of database and each row is extremely similar, so we don't want to make people submit & refill for each item.

    The form has a name, phone, email of the person submitting, a dropdown that gets set as the post taxonomy and the list field. I've got the Gravity Forms + Custom Post Types plugin doing the post mapping work. I'm pretty sure I can set the columns of the list to different custom fields using the after_submission filter, but can I use that or something else to make a new post for each list row?

    Posted 8 years ago on Thursday April 18, 2013 | Permalink
  2. David Peralty

    Yes, you could use the after_submission hook to create those other posts, but all of the PHP programming burden would be on you, as there isn't any easy way to do what you are asking.

    Posted 8 years ago on Thursday April 18, 2013 | Permalink