How do I retrieve answers and questions? For example, I have a question for each person who registers for the conference about any dietary restrictions so I know how many vegan meals to order for the conference. How can I easily retrieve the answers for that specific question.
I had tried to edit the Emails that get sent to Admin to include the answers and questions under [QUESTION_LIST] to include the short codes for [QUESTION] [ANSWER] but when I ran a test, I still did not see in the email the questions and answers.
EE provides a lot of flexibility with what is used within the message system but with that comes a bit of a learning curve.
By default, the registration questions should already be included within the email sent to the admin but it does depend on any edits you’ve made to the template.
First, I assume this is the ‘Registration Approved’ message template?
Are you editing the event admin template? The current ‘context’ is shown at the top of the page where in brackets.
The [QUESTION_LIST] shortcode loops each individual custom question on a registration and outputs whatever is saved within the QUESTION_LIST section, parsing any shortcodes each time.
For each individual question, as long as QUESTION_LIST has been called within the template. By default that happens in the ATTENDEE_LIST section, but that also means [ATTENDEE_LIST] needs to have been called somewhere, like this:
The support post ‘Retrieving Questions and Answers’ 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.