I am trying to programmatically query the questions from a particular event.
So far, I can retrieve the questions by the invoke the method question_groups() (according to this doc http://code.eventespresso.com/class-EE_Event.html). However, the method doesn’t seem to differentiate which one is the main question group, which one is the additional question group?
Ultimately, I am trying to display the view like this screenshot , as you can see the first section is the questions for main registrant, if the user click the green text (Spouse/Partner Details), the questions groups for additional registrant will display.
Are you creating your own checkout step for the user to register onto the event or is this intended as an ‘overview’ of a previous registration to allow for editing?
Hi Tony, thanks for the script but please correct me if I am wrong, the script doesn’t seem to tell me which one question group is for major registrant, which one for additional registrants.
FYI, I completely customise every checkout step based on event espresso API.
If you are customizing / re-writing registration checkout, then you may want to reach out to our developers as they would be able to share more feedback:
The support post ‘How to display questions for Additional 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.
Support forum for Event Espresso 3 and Event Espresso 4.