Hi
I'm finding that my fivestar voting form input has a different id than the matching label's "for" field. Here's the code for the label:
<label for="edit-vote">Your rating: </label>
and the matching input/select field...
<select name="vote" class="form-select" id="edit-vote-0" >....
For some reason Drupal has suffixed the form id with -0, even though this is the only voting widget on the page.
Does anyone know how this can be fixed?
Thanks
Dan
Comments
Comment #1
quicksketchThanks, this looks like a bug to me. The -0, -1, -2, etc. is now tacked on to the IDs to prevent duplicates IDs on the same page. I'll see what I can do about making the
<label for="">point to it correctly.Comment #2
quicksketchI added an ID to the label itself so that it now matches the select field. Thanks for reporting.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.