Checkbox label ‘for’ not same as input ‘id’
-
Hi, great plugin! However I have come across a problem I’m hoping you can help with.
Checkbox labels are not selectable where as checkbox inputs are. I think the issue is due to the
for
attribute in the checkbox label isn’t the same as theid
within the checkbox input. Please refer to my snippet below:<li class="gchoice_1_9_1"> <input name="input_9.1" type="checkbox" value="Car" id="choice_1311833388_9_1"> <label for="choice_1311833388_1_9_1" id="label_1311833388_1_9_1">Car</label> </li>
Using Chromes inspect tool, I was able to change the input
id
to match the labelsfor
attribute and it worked perfect.Is there any way to extend the Gravity Forms plugin so the input
id
matches the labelsfor
attribute?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Checkbox label ‘for’ not same as input ‘id’’ is closed to new replies.