Home › Forums › Ticket Products › Event Tickets Plus › Ticket Fieldsets
- This topic has 5 replies, 4 voices, and was last updated 9 years, 10 months ago by
Dylan.
-
AuthorPosts
-
June 19, 2016 at 5:14 pm #1129081
Dylan
ParticipantHi,
I’m wondering if you can tell me how the ticketing fieldsets are added to the page when the input quantity is changed.
I am building a simple seat chart on my page so when a user clicks on a seat it will add 1 to the quantity and fill in a fieldset that is generated.
My problem is the fieldset only shows up if i click on the input quantity and change it. But not from my custom function, it will change the quantity but the fieldset never appears.
This is what I am using
document.getElementById(“tickcart”).elements[“quantity_9284”].value++;June 20, 2016 at 3:23 pm #1129549Nico
MemberHi Dylan,
Thanks for reaching out to us on this! I’ll help you out…
I guess the simplest approach would be to just change the style attribute of the element containing the meta fields to make it visible. For example: if my ticket ID is 12 then the element id would be tribe-event-tickets-plus-meta-12, and changing the style attribute from display:none; to display:table-row; should do the trick.
Please let me know if this works for your customization,
Best,
NicoJune 20, 2016 at 7:49 pm #1129598Dylan
ParticipantThat still isn’t working for me.
document.getElementById(“tickcart”).elements[“quantity_9284”].value++;
$(‘#tribe-event-tickets-plus-meta-9284’).css(‘display’, ‘table-row’);That adds a table row that is blank without the meta fieldset.
When I look at the page source the fieldset isn’t simply hidden it never is generated unless I actually use the quantity input to change the quantity. I just can’t seem to figure out how to trigger the generation of the attendee fieldset if I change the quantity with a different element on the page.
June 21, 2016 at 1:10 pm #1130054Nico
MemberThanks for following up Dylan!
Can you please share the event URL where I can see this? Also, it would be great if you could share your system information with me so I can check if everything looks right on that end.
Can you also try this with a default WordPress theme like Tweenty Sixteen?
Best,
NicoJuly 6, 2016 at 9:35 am #1136060Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Ticket Fieldsets’ is closed to new replies.
