Home › Forums › Ticket Products › Event Tickets Plus › Problems with ajax_handler_ticket_edit
- This topic has 6 replies, 3 voices, and was last updated 10 years, 6 months ago by Kelly.
-
AuthorPosts
-
October 4, 2013 at 8:46 am #69274MotorcoParticipant
Working on defaults for tickets. I’m mebbe 70% there.
So I have a chosen select for the list of already defined tickets. For the change event, I am doing a post to the ajax_handler_ticket_edit method, since that’s basically the exact same functionality I need (fills in all the ticket fields based on a ticketID).
Here’s where I have problems. The attr-provider is defined up in the edit section and apparently it’s out of scope. Actually I could use the attr-ticket-id too (to match selected in my chosen select box).
So how do I grab those down in the edit ticket section?October 4, 2013 at 9:09 am #69291MotorcoParticipantActually, I’m not asking my question very well. Those attributes being out of scope isn’t the problem. What I need is to find the ticketid and the provider for the ticket that is getting edited within the edit ticket form. I know those variables are in there somewhere ๐
October 4, 2013 at 9:34 am #69316MotorcoParticipantOK – now I’m just having a conversation with myself, but I am getting closer ๐
SO, I had the durp moment of realizing that the values I need are stored already in their fields. BUT, now I am trying to figure out how to get the ticketID backwards into the class-wootickets where I build the chosen select dropdown. The callback has postID, but that doesn’t help. How do I get ticketID into that do_action?October 4, 2013 at 10:59 am #69345KellyParticipantHi, mike. I’m sorry for the delay in getting back to you. We’ve experienced higher than normal thread volume since the new release, but we are doing our best to keep to the 24-hour response time window.
I’m going to escalate your concern to one of the more dev-minded colleagues. He should be back in touch later today.
Thanks for your patience!
October 7, 2013 at 10:07 am #69643ChrisParticipantHi Mike,
We’re having a really hard figuring out what you’re attempting to do here.
Which do_action are we talking about and what do you want to put in it?-Chris
October 18, 2013 at 8:06 am #71627ChrisParticipantHi Mike,
Did you see my last reply?-Chris
October 25, 2013 at 9:45 am #72967KellyParticipantHi, Mike. Since itโs been a while, Iโm going to close this thread. Please donโt hesitate to open a fresh one if anything else comes up! ๐
-
AuthorPosts
- The topic ‘Problems with ajax_handler_ticket_edit’ is closed to new replies.