Ticket Fieldsets

Home Forums Ticket Products Event Tickets Plus Ticket Fieldsets

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1129081
    Dylan
    Participant

    Hi,

    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++;

    #1129549
    Nico
    Member

    Hi 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,
    Nico

    #1129598
    Dylan
    Participant

    That 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.

    #1130054
    Nico
    Member

    Thanks 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,
    Nico

    #1136060
    Support Droid
    Keymaster

    This 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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Ticket Fieldsets’ is closed to new replies.