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.

Multiple entries with one submit

  1. What I'm trying to do is create multiple entries according to some fields in my form
    example:
    I have 1 main attendee, he fills the form, but he has the possibility, to tell that he is bringing 1/2/3/4/5 other persons. (currently realized by a drop-down-list).
    now he fills in the names of those persons in the newly visible name inputfields. (conditional fields in dependency of the dropdownlist)

    But when he clicks on the Submit button, he will only create 1 entry, but we need to check all attendees (the main attenders as well as the "bring withs")

    is there any possibility to create a entry for every inserted name and reverence them to the main attendee?
    So that we can properly check if the event is full/sold out or if there are places left.

    example goes here: http://www.bleichermuehle.de/aktuelles/termine/anmeldung-zum-smoker-grill-kurs-am-24-08-2012/

    Posted 12 years ago on Tuesday May 22, 2012 | Permalink
  2. David Peralty

    Currently, as far as I know, there is no way to make multiple entries on one form submit action because of how we wrap the form event to include all the data.

    You could create a secondary form for collecting the extra people, and pass some value to the second form from the first so that you can keep the two form entries organized.

    Posted 12 years ago on Tuesday May 22, 2012 | Permalink
  3. so it is possible to add a second form, that adds entries to a referenced form?

    or, other possible solution, is there a hook to control the counting?
    so that for closing an event it does no longer count the entries, but the sum of the values from a field in the entries?

    Posted 12 years ago on Tuesday May 22, 2012 | Permalink
  4. David Peralty

    It wouldn't directly reference the first form, but you could have some reference id that is shared between the two form entries so that when you export both, you can easily see who brought which extra people.

    Counts are done based on entries, not values in fields, so you can't, again, as far as I know, close forms based on counts other than entries currently.

    Posted 12 years ago on Tuesday May 22, 2012 | Permalink
  5. David Peralty

    That is indeed a similar issue. As you can see, Carl answered the original posted request. I'm not sure why you are linking other issues though. Did my last response help give you an idea of what you can do to get around the built-in limitation of how entries are handled?

    Posted 12 years ago on Tuesday May 22, 2012 | Permalink