Home Forums Event Espresso Premium [Answer_*] shortcode

[Answer_*] shortcode

Posted: July 24, 2022 at 4:03 am


July 24, 2022 at 4:03 am

In my registration form I added a custom field called “Geburtsdatum”.
Now I want add the answer to the mail send after registration.
I added following shortcode to the section [ATTENDEE_EMAIL] [ANSWER_*Geburtsdatum].
But when I send a test mail the value always is empty.


  • Support Staff

July 25, 2022 at 9:20 am

Hi there,

May I ask where you’ve added the shortcode? Can you post a screenshot of it?


July 25, 2022 at 10:30 am

here you find a screenshot


  • Support Staff

July 25, 2022 at 2:07 pm

Thank you, so that should work.

Is that string an exact match?

Can you link me to the event you have the above question assigned to so I can add a test registration to it and view your questions?


July 25, 2022 at 2:24 pm

Here you see the form


July 26, 2022 at 1:58 am

And here an event


  • Support Staff

July 26, 2022 at 5:16 am

Ok, so first, how are you sending a test email?

If you are using the send test email function within the template then the test data will not contain an answer for that question. You’ll need to add a test registration to your event and trigger the registration approved message to view it.

Also, the screenshot you have included is for the ‘Event Admin’ context, meaning it’s the message sent to the event admin by default (unless you have changed the TO field to a registrant, which I do NOT recommend doing).

So are you checking the correct ‘context’ when viewing this and are you using the test feature or a real registration?


July 27, 2022 at 6:09 am

You are right, I sent the mail with the function in the temps.
On the website it works.
This is very confusing and I could not find any information about that a


  • Support Staff

July 28, 2022 at 3:07 pm

My apologies for the confusion.

I’ve made a note to see if we can add some additional documentation on this in the future.

The support post ‘[Answer_*] shortcode’ 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