Hello
Is it possible to skip to the next field in the tabindex on a form, bypassing all of the options in a checkbox list?
To save the user having to tab unnecessarily through checkbox fields, when none are to be checked, I'd like to give the user a keyboard option to skip to the next field. Mouse use is being avoided to speed data entry.
Can javascript be used to find the 'tabindex' value of the focussed field, and a hot key (event.keyCode) set up to pass focus to the next field in the tabindex (ie current tabindex + 1)?
<form ...
<input type="checkbox" name="cboxone" value="1" tabindex="1">Option 1<br>
<input type="checkbox" name="cboxone" value="2" tabindex="1">Option 2<br>
<input type="checkbox" name="cboxone" value="3" tabindex="1">Option 3<br>
<input type="checkbox" name="cboxone" value="4" tabindex="1">Option 4<br>
<input type="checkbox" name="cboxtwo" value="1" tabindex="2">Option 1<br>
<input type="checkbox" name="cboxtwo" value="2" tabindex="2">Option 2<br>
<input type="checkbox" name="cboxtwo" value="3" tabindex="2">Option 3<br>
<input type="checkbox" name="cboxtwo" value="4" tabindex="2">Option 4<br>
<input type="checkbox" name="cboxthree" value="1" tabindex="3">Option 1<br>
<input type="checkbox" name="cboxthree" value="2" tabindex="3">Option 2<br>
<input type="checkbox" name="cboxthree" value="3" tabindex="3">Option 3<br>
<input type="checkbox" name="cboxthree" value="4" tabindex="3">Option 4<br>
</form>
Thanks in advance
Dan
Is it possible to skip to the next field in the tabindex on a form, bypassing all of the options in a checkbox list?
To save the user having to tab unnecessarily through checkbox fields, when none are to be checked, I'd like to give the user a keyboard option to skip to the next field. Mouse use is being avoided to speed data entry.
Can javascript be used to find the 'tabindex' value of the focussed field, and a hot key (event.keyCode) set up to pass focus to the next field in the tabindex (ie current tabindex + 1)?
<form ...
<input type="checkbox" name="cboxone" value="1" tabindex="1">Option 1<br>
<input type="checkbox" name="cboxone" value="2" tabindex="1">Option 2<br>
<input type="checkbox" name="cboxone" value="3" tabindex="1">Option 3<br>
<input type="checkbox" name="cboxone" value="4" tabindex="1">Option 4<br>
<input type="checkbox" name="cboxtwo" value="1" tabindex="2">Option 1<br>
<input type="checkbox" name="cboxtwo" value="2" tabindex="2">Option 2<br>
<input type="checkbox" name="cboxtwo" value="3" tabindex="2">Option 3<br>
<input type="checkbox" name="cboxtwo" value="4" tabindex="2">Option 4<br>
<input type="checkbox" name="cboxthree" value="1" tabindex="3">Option 1<br>
<input type="checkbox" name="cboxthree" value="2" tabindex="3">Option 2<br>
<input type="checkbox" name="cboxthree" value="3" tabindex="3">Option 3<br>
<input type="checkbox" name="cboxthree" value="4" tabindex="3">Option 4<br>
</form>
Thanks in advance
Dan