That was a BIG help! I was able to create appropriately sequenced tabindex values as part of the form construction script and it seems to work, but I have a couple of follow-up questions.
I don't undertand how to set the focus of the very first input where the user should start:
The form is on a page in a frame: think menu bar on the left and workpage on the right...the form is in the workpage (I know it's kind of old school, but that's how I know to do this stuff) When the workpage with form loads, how do I set the focus on the first tabindex with the lowest number (it won't always be zero as the tabindex numbers are based on various key values)
Here is a section of form code as it is right now
echo "<tr><th align=right>ROOM NUMBER</th>
<th align=left><input tabindex="11124" type="text" name="xDATA[1][1124]" value="" size="5"></th>
<th align=left><input tabindex="21124" type="text" name="xDATA[2][1124]" value="" size="5"></th>
<th align=left><input tabindex="31124" type="text" name="xDATA[3][1124]" value="" size="5"></th>
<th align=left><input tabindex="41124" type="text" name="xDATA[4][1124]" value="" size="5"></th>
</tr><tr bgcolor=red><td colspan=5 align=center><font color=white><b>(KEEP ALL DATA IN THE SAME COLUMN FOR EACH ROOM)</font></td></tr><tr>
<th align=right>Total Students</th>
<th align=left><input tabindex="11125" type="text" name="xDATA[1][1125]" value="" size="5"></th>
<th align=left><input tabindex="21125" type="text" name="xDATA[2][1125]" value="" size="5"></th>
<th align=left><input tabindex="31125" type="text" name="xDATA[3][1125]" value="" size="5"></th>
<th align=left><input tabindex="41125" type="text" name="xDATA[4][1125]" value="" size="5"></th>
</tr><tr>
<th align=right>Kindergarten </th>
<th align=left><input tabindex="11126" type="text" name="xDATA[1][1126]" value="" size="5"></th>
<th align=left><input tabindex="21126" type="text" name="xDATA[2][1126]" value="" size="5"></th>
<th align=left><input tabindex="31126" type="text" name="xDATA[3][1126]" value="" size="5"></th>
<th align=left><input tabindex="41126" type="text" name="xDATA[4][1126]" value="" size="5"></th>
</tr><tr>";
I'd like to automatically set the cursor at tabindex="11124" (first column, first row).
ALSO: This form often has quite a few rows that requires scrolling up and down, the scrolling down seems to follow the tabbing okay, BUT when the user gets to the end of the column and the next tab goes back up to the top of the second column, the page does not automatically scroll back up there. The user has to manually scroll. Is there a trick that will do this?
Thanks again.