Support

Home Forums Event Espresso Premium Best method to collect data for multiple attendees

Best method to collect data for multiple attendees

Posted: December 20, 2017 at 6:31 am

Viewing 7 reply threads


WPSUSC

December 20, 2017 at 6:31 am

I need to collect just SOME of the “personal information” for attendees 2 thru n.
Should I create new questions for first name & last name, or duplicate the existing system questions to a new question group?


Tony

  • Support Staff

December 20, 2017 at 8:32 am

Hi there,

I’d advise against both of those options (don’t create custom questions for First/Last name as they aren’t used when displaying the registrant data and you can’t add the system questions to another group).

What details do you need for both the primary and additional registrants?

It sounds like you are collecting too much data in the personal info question group and some of the questions should be added to a custom group that you then select for both the primary and additional.


WPSUSC

December 20, 2017 at 8:41 am

we are selling tickets to a benefit dinner. The organization consists of many military personnel, so personal information includes title/ rank first name, last name and email address for attendee 1. Attendee 2 could be a military spouse, so the same formal information is required, however attendee 2 or could be a child, so I can’t collect email information. The problem could be solved it I could eliminate email address from personnel information for attendee 2 thru n or at least make it optional. Here is the website http://wpsusc.com/events/wpsusc-founders-day-2018-non-members/


Tony

  • Support Staff

December 20, 2017 at 8:48 am

In short, you can’t remove the email question from the personal information group, it’s a required question from that group.

But if you want the additional registrations to show up with the details entered as separate registrations (rather than the primary registrants details looped for each registration), you need the personal info group.

However what you can do is hide the email question group for all additional registrations and then use jQuery to copy the primary registrants email into the hidden fields (because they are required), would that work for you?

If so you can use the all-events.php snippet here:

https://gist.github.com/Pebblo/44f47386d1221b7916d3ae906f6149c3

(the other snippet only hides the emails if there is an event in the cart that has a custom field with a key of ‘hide_email_fields’ set)

You can add that function to a Custom Functions Plugin on your site.


WPSUSC

December 20, 2017 at 9:27 am

Huh? you are losing me with this statement:
But if you want the additional registrations to show up with the details entered as separate registrations (rather than the primary registrants details looped for each registration), you need the personal info group.

I want the registration to show up as
attendee 1: Major Joe Smith bought 3 tickets to the dinner: he purchased the tickets for himself, and his entre selection is chicken, his wife, SGT jane smith, her entre selection is beef and their son tom smith, who selected hot dogs for his entre. we need to keep the group together so that when the setting charts are done, we know who to sit together…..
BTW, I can’t bet my head around WHY can’t the email be made optional?????


Tony

  • Support Staff

December 20, 2017 at 10:44 am

Huh? you are losing me with this statement:
But if you want the additional registrations to show up with the details entered as separate registrations (rather than the primary registrants details looped for each registration), you need the personal info group.

If you remove the personal information group from additional registrants and create custom fields for the names, what will happen is the registrations will all show up as the primary registrant, so in the registrant list it would show like this – http://take.ms/HrJZO

Then the names would be saved as additional questions in each of those registrations.

Try creating another test event, don’t select the Personal info group for additional registrants, but do select at least one custom question group for additional registrants. Register onto 3 tickets and look at the registrations, you’ll see what I mean then, even if you created custom First and Last name, they would show up as they do in that setup as EE doesn’t use your custom questions for the registrant contact details.

I want the registration to show up as
attendee 1: Major Joe Smith bought 3 tickets to the dinner: he purchased the tickets for himself, and his entre selection is chicken, his wife, SGT jane smith, her entre selection is beef and their son tom smith, who selected hot dogs for his entre. we need to keep the group together so that when the setting charts are done, we know who to sit together…..

For the reports to be easy to follow you need the personal information question group for additional registrants with that setup.

BTW, I can’t bet my head around WHY can’t the email be made optional?????

Because EE expects those 3 system questions as a minimum for each registration currently.

Can it be made not to? Sure, but right now it does, which means without some heavy refactoring of the code and a lot of customizations on your part (which we can’t support), you can’t remove the email question.

The above is a much quicker option.


WPSUSC

December 20, 2017 at 11:51 am

Ok, I see what you mean, but I rather like the fact that I see 3 registrations with the same name….I know at a glance that “Tony Warwick” is a party of three — and when I export the CSV I can see the titles & names to add to the table placecard.

I’m not keen on using any code, plugins or tricks than necessary, so the idea of either adding a custom functions plugin to augment the functions.php file is grossly unappealing…Its just one more thing to break, or otherwise wreck havoc. In my world, when it comes to writing code, less is always better.

However, before I go down the path of adding title, name and rank as custom fields in a custom question group for attendees 2 thru n, I’d like to understand why you advise against it, – other than the fact that I see “Tony Warwick, party of 3”. I want to make an informed decision, with my eyes open. Thank you for your patience, and helping me learn….I will be a better advocate for your plugin if I am an informed developer.


Tony

  • Support Staff

December 20, 2017 at 1:32 pm

I’m not keen on using any code, plugins or tricks than necessary, so the idea of either adding a custom functions plugin to augment the functions.php file is grossly unappealing…

Its actually the other way around, a themes functions.php file for all intended purposes is a plugin, its just included in the theme to include theme specific functions (which my snippet is not).

But not using additional scripts is entirely your decision 🙂

However, before I go down the path of adding title, name and rank as custom fields in a custom question group for attendees 2 thru n, I’d like to understand why you advise against it,

It’s just the fact that all of the registrations are assigned to the primary registrant, most users prefer that each registration is linked to its own contact (the registrant).

It also means that anywhere that lists the registrants, would list the primary registrant’s name x amount of times rather than the actual registrant, for example the emails will list the primary registrant 3 times as 3 registrants, then show the custom questions as part of each registrant.

In short anywhere that lists the registrations shows the primary registrant data and you need to hunt the actual name.

Viewing 7 reply threads

The support post ‘Best method to collect data for multiple attendees’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso