That's a good question. I'm not sure what is the answer. I'll do some poking around and get back to you if I find an decent answer. You should email the people at iContact as they probably could give you an answer..
Add this attribute to the <input> tag in the form, (I hope there is one input only, otherwise tab can't be used to move between the inputs as it submits the form):..
Thanks..
Unfortunately there are many inputs and only the last should submit the form..
I may have to re-think this..
We are trying to allow the user to scan as much as possible with as little user intervention as possible...
Well, add that to the last input then, shouldn't be a problem... but think again if you really want to have it there, you want it to be as easy as possible for users, I think it would just cause extra confusion until you get used to pressing tab at your page, and your page only. You can just as well press enter, so tab shouldn't even make it easier...
It would be nice if they could scan eveything and then after the last scan the submit is done automatically, I can see that this is difficult to achieve, but I live in hope....
What do you mean by scan?.
If you're still talking about the tab thing... I already gave you the code... just insert that attribute to the last <input> of the form..
By scan I mean use a laser scanner with barcodes..
The idea being that the user just has to scan until he is finished and then submit a final time to print..
I tried your code, it didn't work. I'm sure I did something wrong or I am missing something..
Sorry, I'm new to this. I should mention that the HTML will be running under windows CE although I'm told that this should not make a difference...
Noooooo.
Sorry, my mistake! The key code for tab is.
9.
, not 8!..
It didn't work.
Heres my code, what did I do wrong.
Code:.
<HTML>.
<HEAD>.
<TITLE>Enter Work Order Transactions - "inv023w"</TITLE>.
<FORM name=Form1 method=post action="/waitlistp/inv023w.pgm">.
<input type=hidden name=request value=add>.
<input type="hidden" name=srecno value=002>.
<BODY onload="document.forms.Form1.ITEMNO.focus()">.
<TABLE BORDER="2" bordercolor="#008000" bordercolordark="#005000".
Bordercolorlight="#008000" align="left">.
<TR><TD ALIGN="center" width="185">.
<FONT Size="1" Color="#800000".
Face="Bernhardmod BT"><B>.
Work Order Transactions.
</B></FONT>.
</TD></TR></TABLE>.
<BR><BR>.
<FONT size="1"><B>Trans Date</B></FONT>.
.
5/11/2004.
<BR><BR>.
<FONT size="1"><B>Stock</B></FONT>.
.
<FONT size="1"><B>IN</B></FONT>.
<INPUT type="radio" name="STOCKT" value="I" style="background-color: green">.
<FONT size="1"><B>OUT</B></FONT>.
<INPUT type="radio" CHECKED name="STOCKT" value="O" style="background-color: green">.
<BR><BR>.
<FONT size="1"><B>Work Order #</B></FONT>.
.
<INPUT type="text" name="WORDNO" size="8".
Maxlength="8" value=0000001 readonly style="background-color: #9dffce">.
<BR><BR>.
<TABLE BORDER="2" bordercolor="#008000" bordercolordark="#005000".
Bordercolorlight="#008000" width="185" align="left">.
<TH><FONT size="1">W/House<br>#</FONT></TH>.
<TH><FONT size="1">Item<br>#</FONT></TH>.
<TH><FONT size="1">Quantity</FONT></TH>.
</TD><TR>.
<TD ALIGN="center"><INPUT type="text" name="WHNUMB" size="3".
Maxlength="3" value=001 readonly style="background-color: #ffff80"></TD>.
<TD ALIGN="center"><INPUT type="text" name="ITEMNO" size="7".
Maxlength="7" value=" " style="background-color: #ffff80"></TD>.
<TD ALIGN="Right"><INPUT type="text" name="QUANTY" size="7".
Maxlength="7" value=" " style="background-color: #ffff80".
Onkeydown="if((event.which && event.which == 9) || (.
Event.keyCode && event.keyCode == 9)) this.form.submit();"></TD>.
</TR>.
</TABLE>.
<BR><BR><BR><BR>.
<TABLE BORDER="0" width="185" align="left">.
<TR><TD ALIGN="center">.
<INPUT type="submit" name="Submit" value="Submit Work Order""></TD></TR>.
</TABLE>.
</FORM></BODY></HTML>..

