Posted: November 25, 2018 at 6:12 pm
hello…i found this article–which is great. however, i realized that if i check the box for the additional registrants then i new set of question is created for every event placed in the cart. if the user puts 5 events in the cart, then 5 set of the same questions is required. and that’s a problem.
i want to ask the primary registrant the set of questions for each event. i don’t want to have a set of question for each registrant. how do i accomplish this?
secondly… is there a way to move all the events the user is registering for to the top of the registration form instead of having all but the first at the bottom?
Currently we don’t have an option for this, you can set only the primary registrant questions but then only a single set of questions will be requested, which will be the question groups assigned to the primary registrant on the first event added to the cart.
We don’t have an option to ask only additional/different question groups on the primary registrant per event.
We have a snippet that uses a little jQuery to do what you are requesting here:
You can add that to a custom functions plugin on your site, we have some documentation on creating one here:
tony… thanks for the reply.
there’s no option for this– ok. how about asking a set of questions depending on the event. certain group of question don’t show when there’s multiple events in the cart. how can i fix this?
the second part worked perfectly. thank you
My apologies but I don’t follow.
If you only select the Primary registrant questions then whatever groups you have selected will show for the first event added to the cart, the additional event question groups will be ignored.
By your reply, what is happening is what I posted above.
Correct, because they add a ticket from 1 event, then another, so (assuming only the primary registrant questions are selected) the first ticket added to the cart tells EE which question groups to use. The primary registrant is created from that first ticket, so it’s only the questions for the event assigned to that ticket that are requested.
Meaning if Event A is added to the cart first, Group 1 will be requested.
If Event B is added to the cart first, Group 2 will be requested.
Adding Event A then Event B means only Group 1 will be requested.
Adding Event B and Event A means only Group 2 will be requested.
In that setup, you can’t. Group 1 & 2 would need to be assigned to both events so that when the user adds either of them to the cart, both of those questions are used.
It’s not a bug but by design, you do either request only the primary registrant questions for the first ticket, or all questions for each ticket.
Side note, may I ask why the above post is private? There’s no sensitive information in the post.
In short, it’s due to how registrations relate to questions and events.
Tickets are directly related to registrations, they have a 1 to 1 relationship, so when you add the ‘first’ ticket to the cart (regardless of the event it is attached to) it generates a ‘Primary Registration’.
The primary registration pulls the question groups for the event it is from and generates the registration form.
Now if you don’t ask details for additional registrants EE does not query the additional events for their ‘primary question’ groups and then only display the questions that differ, the logic just isn’t in the plugin to do that yet so you can have either just the Primary Registrants questions or All registrations questions (remember in EE 1 ticket == 1 registration).
Do you allow multiples of a ticket from each event to be added or is just single tickets from multiple events?
i get it, i just wish there was a workaround.
some events i allow multiple tickets and some only 1