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.

Automatically duplicate forms from template

  1. Hello,

    I've been trying to figure this out for a while now, and can't seem to make any progress. Not sure if I'm missing something obvious out there on Google or here in the forums, or if this is something that's just not possible.

    Here goes:

    I'm creating a type of event registration website. It's based on a WP Multisite installation. The idea is that users will sign up for an account, and get their own 'Mini-Site' from which they can create events. Each event (a bowling tournament, for example) will have a unique "Event Information" page, that includes things like a map to the venue, twitter update feed, etc. Most importantly, the Event page will include a registration form for competitors.

    I've muddled through most of this pretty well, but I'm having a problem with the registration forms. I like the way that Gravity Forms allows form owners to view/edit/export entry data-- very useful for event organizers. However, I can't figure out a way to automatically duplicate a template registration form, and associate it with a particular event.

    I have created a simple registration form template. When a user creates a new "event" (a custom post type), I would like to somehow trigger a function that duplicates that template form, and gives it a title that relates to the event (maybe pulling in the post title).

    Hope this makes sense. I've looked into the solution of simply having ONE registration form, and passing some kind of event ID based on the page from which the form was submitted. I don't like this solution because this puts all event entries into the same form, not separating by event. I like the idea of users being able to view/edit/export/etc a particular event's entries, without having to filter things.

    Thanks in advance for any insight!

    Posted 11 years ago on Wednesday February 20, 2013 | Permalink
  2. However, I can't figure out a way to automatically duplicate a template registration form, and associate it with a particular event.

    You can't automatically duplicate a form and have it associated with a particular event.

    The way this is normally done is to have one form and use the query string to pass in the event ID. However, the export of entries become messier at that point. I don't believe it's possible to do what you want to do at this time.

    Posted 11 years ago on Saturday February 23, 2013 | Permalink