Support

Home Forums Event Espresso Premium Children registrations (2)

Children registrations (2)

Posted: July 20, 2017 at 10:24 pm


lupineart

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 [RECIPIENT_ANSWER_* Child First Name] and [RECIPIENT_ANSWER_* Child Last Name] in the [ATTENDEE_LIST] section, but got the error that it’s not a valid spot to use them.

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


Tony

  • Support Staff

July 21, 2017 at 4:47 am

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.


lupineart

July 21, 2017 at 12:51 pm

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.


Tony

  • Support Staff

July 24, 2017 at 4:33 am

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:

https://eventespresso.com/send-login-details/


lupineart

July 24, 2017 at 12:06 pm

Done. Thanks Tony


Tony

  • Support Staff

July 26, 2017 at 3:37 am

My apologies for the delay.

Firstly I’ll address this:

I don’t see ‘[RECIPIENT_QUESTION_LIST]’ on the list of available shortcodes in the ‘EVENT_LIST’ section.

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 [QUESTION_LIST] section has been set to nothing – http://take.ms/3o3hI

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:

<li><strong>Question:</strong> [QUESTION]</li>
<li><strong>Answer: </strong>[ANSWER]</li>

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?


lupineart

July 27, 2017 at 9:19 pm

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:

<li><strong>Question:</strong> [QUESTION]</li>
<li><strong>Answer: </strong>[ANSWER]</li>

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]
Age: [age]
Allergies: [allergies]

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. [RECIPIENT_ANSWER_* Child First Name] doesn’t seem to work, for example…

Thanks, Derek


Josh

  • Support Staff

July 28, 2017 at 8:06 am

Hi Derek,

Instead of:

<li><strong>Question:</strong> [QUESTION]</li>
<li><strong>Answer: </strong>[ANSWER]</li>

You do this:
<li><strong>[QUESTION]: [ANSWER]</li>


lupineart

July 28, 2017 at 9:36 am

Thanks Josh, but how do I display an answer to a specific question instead of the complete list of questions/answers?

I’ve tried – [RECIPIENT_ANSWER_* Child First Name] but it doesn’t work. See screenshot of questions – https://www.dropbox.com/s/32yslsgvqdc0f2m/Screenshot%202017-07-28%2008.34.56.png?dl=0

What am I missing?

Thanks,


Josh

  • Support Staff

July 28, 2017 at 9:50 am

but it doesn’t work

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
[RECIPIENT_ANSWER_*] shortcode, so if you try to input the shortcode in a section that can’t parse the shortcode, then you’ll get an error. Before you add the shortcode to a section, you can check to see if the shortcode can be added to the section by clicking on the icon that’s over to the right.


lupineart

July 28, 2017 at 11:10 am

Ok, I see the [RECIPIENT_ANSWER_*] in the [EVENT_LIST] and [ATTENDEE_LIST] sections. So I get that now – I can use the shortcodes there.

I was getting the error when I was using the [RECIPIENT_ANSWER_*] shortcodes in the other sections, saying it’s not a valid spot to use them.

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


Josh

  • Support Staff

July 28, 2017 at 11:28 am

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 [RECIPIENT_ANSWER_*] into?


lupineart

July 28, 2017 at 11:50 am

Hi Josh,

Yep – I was using the primary registrant (although I tried both).

I put it in the [TICKET LIST] section, that one seemed to make most sense, but am open to suggestions – https://www.dropbox.com/s/qsqzh7e0d7ogm0h/Screenshot%202017-07-28%2010.42.44.png?dl=0


Tony

  • Support Staff

July 28, 2017 at 5:42 pm

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 [RECIPIENT_ANSWER_*] shortcode to them to pull the details. In your setup, the recipient is the same for all of your tickets as you only collect Personal info for the Primary Registrant.

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 [RECIPIENT_QUESTION_LIST] in the EVENT_LIST section for [ATTENDEE_LIST]

In the ATTENDEE_LIST section add:

<li>
	Name: [ANSWER_*Child First Name] [ANSWER_*Child Last Name]
	Age: [ANSWER_*Child Age]
	Allergies: [ANSWER_*Allergies (please also indicate how servere)]
</li>

Now run another test, does that do what you need?


lupineart

July 28, 2017 at 10:34 pm

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 [PRIMARY_REGISTRANT_EMAIL] in the email field. I noticed on the Registrant Context, the email field was [REGISTRANT_EMAIL] (I think – I removed it). I removed it because when testing it, I was receiving 2 confirmations as the registrant.

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.


Tony

  • Support Staff

July 31, 2017 at 6:17 am

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?


lupineart

July 31, 2017 at 8:32 pm

I think I’m all good, Tony. Thanks a lot for all of your help!


Tony

  • Support Staff

August 1, 2017 at 5:33 am

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.

Event Espresso