johnfdutcher
Programmer
I use a Python script to generate an HTML page containing a
row of text input boxes:
print'''<input type="text" name="digs2" size="2" maxlength="2" value=''' + '"' + data[1][0] + '"' + ">"'''
....this repeats for (7) boxes.......
They do not behave like a similar set coded in 'static' HTML...I 'set focus' upon form load, and it works in both cases O.K., but no entry can be made in a text box in the python generated form until it has been reached by using the 'tab' key (placing the cursor in the box will not allow any data entry, even though it is in the first position).
In the static page no such issue exists, as the data entry can start immediately after the page loads, in the first box (where the cursor is set). Likewise I can place the cursor in any box and start data entry....no need to 'tab' to it ??????
row of text input boxes:
print'''<input type="text" name="digs2" size="2" maxlength="2" value=''' + '"' + data[1][0] + '"' + ">"'''
....this repeats for (7) boxes.......
They do not behave like a similar set coded in 'static' HTML...I 'set focus' upon form load, and it works in both cases O.K., but no entry can be made in a text box in the python generated form until it has been reached by using the 'tab' key (placing the cursor in the box will not allow any data entry, even though it is in the first position).
In the static page no such issue exists, as the data entry can start immediately after the page loads, in the first box (where the cursor is set). Likewise I can place the cursor in any box and start data entry....no need to 'tab' to it ??????