Support

Home Forums Event Espresso Premium Shortcode Creation

Shortcode Creation

Posted: January 17, 2016 at 5:00 am


mrclarke

January 17, 2016 at 5:00 am

Hi Guys,
Problem/Issue: I would like to display some additional data info (Passport/driving licence number on purchase ticket.

What I have done so far: I have added a new required question to the Personal Group via registration form.

Stuck: I obviously need to have/create a shortcode which I can then select/add in the ticket message edit registration section..I hope all of this makes sense and someone will be kind enough to help me.

Thanks,
Rich


Tony

  • Support Staff

January 18, 2016 at 5:14 am

Hi Rich,

You don’t need to create a shortcode for this, we have a dynamic shortcode you can use to pull the answer to custom questions within the ticket template.

That is [RECIPIENT_ANSWER_*] and you need to add your custom question text after the * to match.

For example if your question text matches ‘Passport/driving licence number’ exactly, your dynamic shortcode would be:

[RECIPIENT_ANSWER_*Passport/driving licence number]

Here is an example of how I’m using a similar shortcode to pull in a ‘Start Date’ answer – http://take.ms/x07yw

You can add that within Event Espresso -> Messages -> Ticket -> Registrant.

Is that what your are looking for?


mrclarke

January 18, 2016 at 6:38 am

Hi Tony,
I think your solution might resolve my issue – haven’t yet tested as my host is having some server problems.

I will update this ticket later to let you know how I get on, but thanks for replying.

Thanks,
Rich


Tony

  • Support Staff

January 18, 2016 at 6:41 am

You’re most welcome, Rich.

Please do let us know if you have any problems.

The support post ‘Shortcode Creation’ 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