Support

Home Forums Event Espresso Premium Custom Fields not showing on ticket

Custom Fields not showing on ticket

Posted: August 9, 2012 at 11:36 am

Viewing 9 reply threads


Chris Rundell

August 9, 2012 at 11:36 am

I have a custom ticket design and dropped in the ID (or what I think is the ID) for a custom field in my question group in my registration form for the attendees title. I got the ID from registration_page_display.php. You can see the ID in the image: http://www.artworxstudio.com/images/ticket.png. How do I make sure I get the right ID for custom fields to show in my ticket? I’m still tweaking the css, but am very close to done with this puppy! Everything else is tested and works. Thanks!


Chris Rundell

August 9, 2012 at 12:23 pm

Whoops! I actually got the ID from doing a view source on the form! Now I am looking again, I think the ID to use is really the name, TEXT_11. Going to give it a go!


Chris Rundell

August 9, 2012 at 12:31 pm

Nope. Did not work. 🙁


Garth

  • Support Staff

August 9, 2012 at 10:14 pm

Are you using templates or did you try doing that with the confirmation emails? Here is the documentation: https://eventespresso.com/wiki/espresso-ticketing/


Chris Rundell

August 10, 2012 at 5:16 pm

I created a custom template with custom css that pulls two custom fields title and company) from questions I added to my question group. I need to include those two fields from the registration form. Form is here: http://www.heidenhain.us/event/?page_id=130 and for the ticket I overwrote the index.php and simple.css in the ticketing directory. If you fill out the form, you’ll see it. Thanks!


Josh

  • Support Staff

August 10, 2012 at 5:21 pm

To get an answer from a question to display on the ticket use this:

[answer_question]

Where ‘question’ is an exact, character for character match of the question entered in the question manager.


Chris Rundell

August 13, 2012 at 1:55 pm

I entered “Title” and “Company” as in the question manager as following:
[answer_Title]
[answer_Company]

But did not get the title and company name I entered into the registration form. Did I misunderstand?


Josh

  • Support Staff

August 14, 2012 at 8:26 am

The above should work. Can you post the code from the ticket template’s php file that you’re modifying in piratepad or pastebin and post a link here?


Chris Rundell

August 14, 2012 at 9:22 am

Thanks Josh. Here’s the pastebin link: http://pastebin.com/hmCpxjbf


Josh

  • Support Staff

August 14, 2012 at 4:28 pm

The above code worked fine for me.
The name, company name, and title displayed once on the left side, and once on the right lower corner of the ticket.
Make sure that the ticket template setting is set to select this template, and the event is set to use that ticket.

Viewing 9 reply threads

The support post ‘Custom Fields not showing on ticket’ 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