Posted: June 13, 2022 at 3:48 pm
|
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. |
Hi there, 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. See: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/ The So using something like:
Will output: Question: {the question text} 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 https://monosnap.com/file/ZXn14fflP9nJAvodaEtyGzHS8zTwgl If you can add a screenshot of your message template sections I can check those over and let you know what needs to be changed. Or if you only want the answer to a specific question, we also have a shortcode to do that, which do you prefer? |
|
|
Thank you for your reply. Very helpful. |
You’re most welcome 🙂 Any further questions just let us know. |
|
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.