Support

Home Forums Events Calendar Add-on Shortcode for custom questons

Shortcode for custom questons

Posted: May 17, 2016 at 12:27 pm


KMS

May 17, 2016 at 12:27 pm

I am having trouble writing the proper shortcode for a custom question and answer to appear in my email templates.
I have Esspresso 4.? and here are the shortcodes I have tried and failed on.

[PRIMARY_REGISTRANT_ANSWER_facility-name]
[ANSWER_facility]
[QUESTION_LIST]
[QUESTION]
[ANSWER]
[RECIPIENT_ANSWER_* Facility Name]

Here is a screen shot of my question…

http://postimg.org/image/os71c3txt/

What am I doing wrong?


Tony

  • Support Staff

May 17, 2016 at 1:39 pm

Hi there,

Where exactly are you using the shortcodes?

It most likely will either be:

[RECIPIENT_ANSWER_*Facility Name]
or
[PRIMARY_REGISTRANT_ANSWER_*Facility Name]

Depending on exactly where you are using the shortcode.

It could also possibly be [ANSWER_*Facility Name] within the ATTENDEE_LIST section.

Post a screenshot of where you are adding the shrotcode and we should be able to help

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


KMS

May 18, 2016 at 9:55 am

I am trying to use them in the Payment Received email template. Which is available under editing each event.

http://postimg.org/image/6qcstd9tt/

http://postimg.org/image/v7rkvep6p/

Is the payment received the default email that is sent to the admin and user who registers?


Lorenzo Orlando Caum

  • Support Staff

May 18, 2016 at 1:22 pm

Hello,

That would be this shortcode:

[PRIMARY_REGISTRANT_ANSWER_*]

…where you would use the exact text for the question. For example, if this was the question:

What is your favorite food?

…then this would be the exact shortcode:

[PRIMARY_REGISTRANT_ANSWER_*What is your favorite food?]

If you are not sure about the question text, then you can check it through Event Espresso –> Registration –> Questions and then look at the question name.

Also, your support license for your site has expired so you’ll no longer be able to update. You can purchase a new support license through this link:

https://eventespresso.com/product/personal-license/


Lorenzo


KMS

May 18, 2016 at 1:54 pm

Thanks for the response.

I have inserted what I think is correct but nothing appears in test email for that new question.

I have attached a screen shot of the created question and the short code in place.

Can you verify if this looks correct please?

http://postimg.org/image/mle6bi3sx/


Josh

  • Support Staff

May 18, 2016 at 4:07 pm

It looks correct, but you probably won’t see anything in a test email. You’ll need to do a registration and answer the question to check the output.

The support post ‘Shortcode for custom questons’ 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