Home › Forums › Ticket Products › Event Tickets Plus › Multiple ticket – Meta fields in the ticket form – Bug with for and id
- This topic has 7 replies, 2 voices, and was last updated 8 years, 6 months ago by
Vincent.
-
AuthorPosts
-
July 12, 2017 at 1:11 am #1319902
Vincent
ParticipantHi,
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 !
July 12, 2017 at 7:42 pm #1320340Shelby
ParticipantHi 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 š
July 13, 2017 at 1:00 am #1320425Vincent
ParticipantThis reply is private.
July 13, 2017 at 6:04 am #1320481Shelby
ParticipantThis reply is private.
July 13, 2017 at 7:11 am #1320523Vincent
ParticipantThis reply is private.
July 15, 2017 at 9:26 am #1321693Shelby
ParticipantHey 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 š
October 10, 2017 at 9:35 am #1361578Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Multiple ticket – Meta fields in the ticket form – Bug with for and id’ is closed to new replies.
