Posted: July 20, 2017 at 10:24 pm
|
Hi guys, Following up on this thread: https://eventespresso.com/topic/children-registrations/#post-244641 I’ve created the custom questions – https://www.dropbox.com/s/tnlwva2kijqv30p/Screenshot%202017-07-20%2021.13.40.png?dl=0 I attempted to put the I also want the other custom questions shows (age/allergies). I’d like them in a list, as sometimes people register 2 children at 1 one time. Where exactly can I put these custom question shortcodes? Thanks, Derek |
Hi Derek, Each section has specific shortcodes available to it, you can click on the icon to view the shortcodes available in each section – http://take.ms/UU4Ww8 (Clicking on a shortcode inserts it into the section your are on) You probably want to add the above shortcodes to the ‘EVENT_LIST’ section, however in there you should already have ‘[RECIPIENT_QUESTION_LIST]’ which lists all of the questions assigned to a registration anyway. The above allow you to pull specific answers in places you need them. Can you link me to an event I can run a test registration on to view your setup? I’ll provide some details of you can set up the messages then. |
|
|
Hi Tony, I feel like I’m missing something simple… I don’t see ‘[RECIPIENT_QUESTION_LIST]’ on the list of available shortcodes in the ‘EVENT_LIST’ section. Here’s a test event – https://lupineart.com/events/test-event/ In the end, I’d like to list the childrens names, ages and allergies for each attendee under the Registration Details (‘EVENT_LIST’ section as you suggest). Thanks for your help. |
Rather than me asking multiple back and forth questions, can I take a quick look at the message template in the admin? If so you can send login detail using this form: |
|
|
Done. Thanks Tony |
My apologies for the delay. Firstly I’ll address this:
Sounds like you are looking at the Event Admin then, so do you want these answers to show only on the email send to the admin, the user, or both? For working with message contexts see: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/ The default message template that is sent to the registrant has been edited and the What that means is when the [RECIPIENT_QUESTION_LIST] shortcode (which is just QUESTION_LIST but specifically for the current recipient of the email) is used on the registrant email, it does nothing – http://take.ms/GyFDq Adding this:
To the QUESTION_LIST section will then show all of the questions asked on the registration form for each registrant and there answers. The event admin context has a little more to do to get the questions/answers listed, so before doing going into details do you actually want those details on the admin email? |
|
|
Hi Tony, I really appreciate your help… I would like to include the children information in the registration approved messages, including admin. This is because we (and customers) want to see who is actually attending the classes, which are the children, not the adults that registered them. Having that information in the ‘Questions and Answers’ section would suffice for now. I renamed it ‘Child information’ and will use a custom template for events with children only. Unless you can suggest something better… I plugged in the:
and got what I think was intended – all of the questions/answers in a list. But it’s too much – I just want show specific answers, ie: Name: [first & last name] How do I pull just specific answers to questions like that? I’ve went over the other threads and this (https://eventespresso.com/wiki/messages-system-shortcodes/#display_answers) support documentation, but just can’t make sense of it. Thanks, Derek |
Hi Derek, Instead of:
You do this: |
|
|
Thanks Josh, but how do I display an answer to a specific question instead of the complete list of questions/answers? I’ve tried – What am I missing? Thanks, |
Maybe you can explain what you mean by “it doesn’t work”? Does the page throw an error when you try to save the message type? Did you try adding the shortcode to a section of the template that supports the shortcode? Only some sections of some message types support the |
|
|
Ok, I see the I was getting the error when I was using the I’m getting lost now… Getting back to what I’d like to accomplish: I would like the confirmation email to show the children’s names, age, allergies (4 custom questions in total) on the registrations (not the complete list of all questions as Tony showed – it’s too much). Currently, the parents do the registration. They select the # of tickets – 1 for each child attending (so there may be multiple attendees if they select more than 1 ticket). They provide their personal information and complete the custom questions for each child – custom questions are the ‘child information’ question group. How do I show the children’s information on the confirmation emails? And which email template do I use – primary registrant or registrant? I’ve been trying a bunch of things and can’t seem to get it. The closest I got was this – https://www.dropbox.com/s/bbf3o9au8v8aplo/Screenshot%202017-07-28%2010.06.46.png?dl=0 In this example, I entered different information in the child questions for 2 children, only 1 of the children information is coming up, but twice… Thanks, Derek |
Hi Derek, May I ask, which message context are you working with (primary registrant or registrant)? The Primary Registrant template would be the logical choice if you’re going to send the email to the parent. Also, which section are you putting the |
|
|
Hi Josh, Yep – I was using the primary registrant (although I tried both). I put it in the |
Within messages, you can have a Recipient (the person the message is intended for), registrations (the registrations created within EE from tickets), tickets, (the actual ticket object used during a registration), attendees (which will usually be an array of registrations) and many more, all closely related to each other. The reason you had problems with the TICKET_LIST section is its pulling all of the tickets used, and then applying the So you have 3,4,5,10+ tickets with that setup you only have a single recipinet for the message as you only have one email address. What you need is the ATTENDEE_LIST section, that loops over each attendee (registration) and outputs the details you set in the section for each specific registration you created. Try this and see if it suits, swap out the In the ATTENDEE_LIST section add:
Now run another test, does that do what you need? |
|
|
Thanks, Tony. That helps a lot. I think I got it. I’m using the Primary Registrant context, which wasn’t being used before. It’s email field was blank. I put in Let me know if that is what is recommended by you please. Otherwise, I don’t know how to get around the multiple confirmations. I don’t have a need for registration confirmations go out to all attendees (not for my business). I got the event admin context to include child information also, thanks. I really appreciate all of you help on this one. |
Hi there, Yes using the Primary Registrant context is fine. Disabling the ‘Registrant’ context by removing the shortcode within the ‘To’ field is also fine. So from the above it sounds like you have it working how you’re expecting but I just want to confirm if that is the case, or do you still need help? |
|
|
I think I’m all good, Tony. Thanks a lot for all of your help! |
You’re most welcome, I’m glad you have it working 🙂 Any further problems/question please do let us know. |
|
The support post ‘Children registrations (2)’ 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.