Support

Home Forums Event Espresso Premium Add Child's Name to Email Receipt/Pending Registration

Add Child's Name to Email Receipt/Pending Registration

Posted: November 22, 2016 at 7:43 am

Viewing 3 reply threads


iowayouthchorus

November 22, 2016 at 7:43 am

I’ve tried just adding [PRIMARY_REGISTRANT_ANSWER_*chorister-first-name] to the Email Registration Pending Payment Template (Event Admin Recipient) and I get this error:

An error has occurred:
The following shortcodes were found in the “[ATTENDEE_LIST]” field that ARE not valid: [PRIMARY_REGISTRANT_ANSWER_*chorister-first-name]
Valid shortcodes for this field are: [FNAME], [LNAME], [ATTENDEE_EMAIL], [EDIT_ATTENDEE_LINK], [REGISTRATION_ID], [REGISTRATION_CODE], [REGISTRATION_STATUS_ID], [REGISTRATION_STATUS_LABEL], [REGISTRATION_TOTAL_AMOUNT_PAID], [FRONTEND_EDIT_REG_LINK], [PHONE_NUMBER], [ADDRESS], [ADDRESS2], [CITY], [ZIP_PC], [ADDRESS_STATE], [COUNTRY], [ANSWER_*], [EVENT_LIST], [TICKET_LIST], [QUESTION_LIST]


Tony

  • Support Staff

November 22, 2016 at 10:47 am

The [ATTENDEE_LIST] list section loops over all of the attendee within a registration and outputs the details for each one.

PRIMARY_REGISTRANT shortcodes (all of various forms of them) parse to values for only the primary registrant.

So you are trying to add a [PRIMARY_REGISTRANT_ANSWER_*] within that loop which means if there are 5 attendees the the exact same answer would be output for each of them (the answer from the primary registrant), EE doesn’t not allow for that.

If you ask each registration the ‘chorister-first-name’ question and want their unique value to be posted in the list, use:

[ANSWER_*chorister-first-name]

Within the ATTENDEE_LIST section.

If you want to pull the Primary Registrant’s answer once for the group, add your shortcode outsite of the ATTENDEE_LIST section, for example this would work – http://take.ms/RFbIZ

However it also looks like your are using the admin-only text (question label) for the question in the shortcode, that won’t work as you need the Question Text – http://take.ms/3gjuM

So in my screenshot the shortcode would be [PRIMARY_REGISTRANT_ANSWER_*Custom TextBox Example]


iowayouthchorus

November 22, 2016 at 1:24 pm

Thank you for the clarifications!


Tony

  • Support Staff

November 22, 2016 at 1:38 pm

You’re most welcome.

Viewing 3 reply threads

The support post ‘Add Child's Name to Email Receipt/Pending Registration’ 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