Support

Home Forums Event Espresso Premium Question group to be applied to primary and shown for all group registrants

Question group to be applied to primary and shown for all group registrants

Posted: August 25, 2014 at 10:36 am

Viewing 2 reply threads


matt madill

August 25, 2014 at 10:36 am

I created a question group at the top of my form. The questions are coordinator name, email, hospital/institution, and department phone. you can see them here. http://semcme.tmvgroup.com.php53-14.ord1-1.websitetestlink.com/event-registration/?ee=_register

The issue I am having is I set that question for the primary registrant only. The context is a administrator will be signing up all of the doctors and the answers to all of these questions in the group applies to all the group registrants. So when I ask the question group for the primary registrant I want the question answers for this group to appear in all the “view registration details” for the group registrants and not just the primary registrant.

I know one way around this would be to set the question group for the primary and group registrants, but the downside is i would be asking for duplicate information for the whole group, when i only want to ask the questions group once and have the questions answers apply to the primary and all the group registrants.

Is there anyway around this?


Lorenzo Orlando Caum

  • Support Staff

August 25, 2014 at 6:44 pm

Hi,

Each registrant record stores the questions and answers that are collected during registration. You would not be able to reuse the answers for one attendee for the other attendees.


Lorenzo


Sidney Harrell

August 25, 2014 at 7:36 pm

There are two approaches. One would be javascript based, which would hide the questions in that group on the forms for the additional attendees. Then attach a listener to the questions on the primary attendee, and when one is changed, copy that value to the hidden questions on the additional attendee.
The second approach, and the one that I would personally opt for, would be to look for a hook in the process after the questions are saved. Then starting with the primary attendee’s registration, grab the transaction, all the additional attendees’s registrations, copy those questions from the primary onto the additional, and tell them all to save themselves. (the docs) You can place all the custom code into a custom functions plugin so that none of the core code is changed.

Viewing 2 reply threads

The support post ‘Question group to be applied to primary and shown for all group registrants’ 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