I have a request to display some text on the PAH ticket if the seat purchased is in a particular section, and not if it is any other section. Does someone know a way to do this?
I thought JavaScript in the PDF would be a way. A script for On Open that checks the section field, and then displays text if it is the desired section. But even simple scripts I have tried like On Open display today's date does not work once it is generated by TPAH. If you open the PDF template just with Reader, it works fine, but if the forms are filled and it is emailed out by TPAH, it no longer works. Does this behavior make sense?
Thanks
If I were you I'd add a User Defined Element in LP_TICKET_ELEMENTS that does what you want and add that to your ticket design PDF rather than using Javascript.
Could you provide a script for a user defined element on the ticket? I’d like to include our current membership but the documentation was pretty vague.
Shelley Salinas
From: Tessitura Ticketing Forum [mailto:forums-ticketing@tessituranetwork.com] On Behalf Of Chris Jensen Sent: Tuesday, August 16, 2011 3:58 PM To: Shelley Salinas Subject: Re: [Tessitura Ticketing Forum] PAH and PDF Scripts
From: Clayton Hicks <bounce-claytonhicks2055@tessituranetwork.com> Sent: 8/16/2011 2:57:33 PM
This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Ticketing Forum. You may reply to this message to post to the Ticketing forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
The procedure for adding custom ticket elements is lp_ticket_elements and I think it comes with examples...one of which might be the current membership.
Amanda is correct, there are samples within the Standard/Custom sproc LP_TICKET_ELEMENTS including a membership example:
-- Return membership level for memb org 1 in user defined element 2 only if this is a headerIf @ude_no = 2 and @customer_no > 0 and @design_type = 'H' Select @ude_value = IsNull(memb_level_desc, '') From ft_membership_info(@customer_no, 1, null)