Multiple ticket – Meta fields in the ticket form – Bug with for and id

Home Forums Ticket Products Event Tickets Plus Multiple ticket – Meta fields in the ticket form – Bug with for and id

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1319902
    Vincent
    Participant

    Hi,

    I’m using Events Tickets Plus with Woocommerce and I have an issue with the meta fields in the ticket form :

    The problem appears when a costumer want to order for more than one attendee.
    For example, the first one has a meta who looks like :

    <div class="tribe-tickets-meta tribe-tickets-meta-text tribe-tickets-meta-required">
    	<label for="tribe-tickets-meta_nom">Nom</label>
    	<input type="text" id="tribe-tickets-meta_nom" class="ticket-meta" name="tribe-tickets-meta[1825][1][nom]" value="" required="">
    </div>

    So the second one has the same meta who looks like :

    <div class="tribe-tickets-meta tribe-tickets-meta-text tribe-tickets-meta-required">
    	<label for="tribe-tickets-meta_nom">Nom</label>
    	<input type="text" id="tribe-tickets-meta_nom" class="ticket-meta" name="tribe-tickets-meta[1825][2][nom]" value="" required="">
    </div>

    And here you can see my problem : both of the labels have the same attribute “for” and both of the inputs have the same attribute “id”.
    So, when I click on the second label, I go to the first input.
    In the code, I can’t rewrite this because, in the views/meta.php, the fields are printed like this :

    foreach ( $meta_fields as $field ) {
    	echo $field->render();
    }

    Thanks for the help !

    #1320340
    Shelby
    Participant

    Hi Vincent,

    I’m happy to help out here! šŸ™‚

    In order to help, I’ll need you to take a couple of troubleshooting steps:

    • Test for conflicts using this guide and let me know how it goes
    • Please send me the link to your site where this issue is occurring
    • Try clearing your cache and letting me know if this helps at all

    If you can let me know about these items, then I can help you more easily.

    Best,

    Shelby šŸ™‚

    #1320425
    Vincent
    Participant

    This reply is private.

    #1320481
    Shelby
    Participant

    This reply is private.

    #1320523
    Vincent
    Participant

    This reply is private.

    #1321693
    Shelby
    Participant

    Hey Vincent,

    Thank you so much for clarifying! I see what you mean!

    So this is definitely a bug, and I’ll be documenting it, having another member of my team confirm, and then it will go on our development schedule to be fixed at a later date. I will be associating this thread with our bug ticket so that you’ll get an update when it’s fixed.

    Thanks for reporting this and for your patience!

    Best,

    Shelby šŸ™‚

    #1361578
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Multiple ticket – Meta fields in the ticket form – Bug with for and id’ is closed to new replies.