Posted: October 29, 2017 at 9:47 pm
|
We have added some new questions in the registration form, how can we include that information in the message templates? e.g. we have a question for “school name”, and i want to include the school name on the invoice in the billing information? |
Hi there, Is school name included within the Primary Registrants questions? If so you can use the [PRIMARY_REGISTRANT_ANSWER_*] shortcode. That shortcode takes the question text after the * and pulls the answer for that question, note that question text must match exactly. You mentioned ‘school name’ above, if that’s is your ‘question text’ value the shortcode would be: [PRIMARY_REGISTRANT_ANSWER_*school name] Add that to the Invoice template within Event Espresso -> Messages -> Default message templates -> Invoice. |
|
|
I’ve tried to do that but each time I get a huge error message on the screen which says: An error has occurred: I’ve tried changing the Question Text so that it doesn’t include any symbols and have now made it “School or Organisation” but it still gives the error. |
Your missing the * from your shortcode.
|
|
|
Well if i could put in the forehead slap emoji, I would! |
Lol ๐ I’m glad it’s working, please do let me know if you run into any more problems. |
|
|
Ok I spoke too soon. It’s allowing me to enter the field [PRIMARY_REGISTRANT_ANSWER_*School or Organisation] into the Invoice & Receipt templates. But i’ve just created a test registration, and the school name does not show up on the Invoice or Receipt. I just get: Bill To: Mary Poppins |
Hmm, can you post a screenshot of the shortcode in Text mode, like this – http://take.ms/QOVkt https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots |
|
|
Sure, here it is. |
That’s a different location to the ‘Bill to’ section. See – http://take.ms/LMYPC |
|
|
I want it in both |
|
Opps hang on no i don’t. |
|
Sorry for the bother, I see where I went wrong and have fixed it now. ๐ |
The support post ‘Shortcode for New Questions in Registration Form’ 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.