Posted: January 15, 2016 at 6:50 pm
|
Hello,
I inserted the dots around the field to make sure I was editing the correct template. The dots do show on the invoice, but my custom field remains invisible. It does not matter which question field I choose. I am only able to succesfully insert the standard (system) fields from the selection list. Version 4.8.30.p Hope you have a suggestion. |
Hi Paul, Is the question name actually typed out in all caps? If not, the shortcode should be typed out as:
The question in the shortcode needs to be an exact match of the question text. You’ll note the use of a space in the above shortcode between the * and the question name as well. |
|
|
Hello Josh, Thanks for the quick reply! Meanwhile I found out that this behaviour also occurs in all other templates on my site. I tried to simulate this on the demoee environment, but (luckily) there it works as it should. I use a standard clean installed (up-to-date) WordPress 4.4.1 installation with the basic WordPress Twenty Eleven theme. I have disabled all other add-in’s. No luck. I have changed back to the standard WordPress theme, also no luck. If you have another quick and simple suggestion let me know. If not I think I reinstall WP and EE just to clear whatever is bugging me ;-). |
Hi Paul, Can you enable the Invoice payment method so I can use it to finalize a couple of test registration please? Event Espresso -> payment methods -> Invoice -> Activate invoice payment method. |
|
|
If you choose the second ticket you can use it for registration, there is no payment needed (free ticket). |
I was trying not to take any places within the event, which a free ticket will ๐ but I’ve registered onto the free ticket. Your shortcode should be: [PRIMARY_REGISTRANT_ANSWER_*Instelling] (A space at the beginning/end will be trimmed) Can you go to Event Espresso -> Registration form. Edit the ‘Instelling’ question and confirm there is no whitespace before/after the text (EE should remove that but I’d just like to double check) |
|
|
Hi Tony, no worries the site has not been made public yet. But will need to go live in a few days. I checked for the spaces, but they are not there. As I mentioned before I do have this problem with all custom fields in other messages. For example they also do not show in the ticket. My custom ticket should display 2 fields under the name but they remain blanc. |
I understand, however if we find the cause on one of those field it will likely be the same cause for all as they are all pulled in from the DB in the same way regardless of the message type. Can you send me temporary login details so I can take a look at the template please? You can use this form to send the details: https://eventespresso.com/send-login-details/ |
|
Ok, I can see the issue. The dynamic shortcodes within the messages system, such as the ANSWER_* shortcodes pull in the question based on the ‘Question Text’, not the ‘Question Label’ fields. So in the case of the Instelling question, it needs to be:
Because you’ve added the HTML to the question text – http://take.ms/9kecp The text after the _* must match the question text field, exactly. So any question you have HTML within the question text, needs to use that question text within the shortcode. |
|
|
Hi Tony, This indeed solves my problem. I did not expect the field to be pulled from the question text. Thanks for your help! |
Hi Paul, We have two enhancement tickets open including explanatory text (e.g. help text) and placeholder text (sample text that appears within the form fields but disappears as you enter new information). I’ll add additional feedback to both as I do think these would be helpful. — |
|
The support post ‘Unable to display ANSWER fileds in Invoice’ 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.