First, copy this script exactly as-is into the
For each field which should submit the form when they hit enter add an
<FORM ACTION="../cgi-bin/mycgi.pl"> name: <INPUT NAME=realname SIZE=15><BR> password: <INPUT NAME=password TYPE=PASSWORD SIZE=10 onKeyPress="return submitenter(this,event)"><BR> <INPUT TYPE=SUBMIT VALUE="Log In"> </FORM>
Add the attribute like it is in the example. No modification is needed. This gives us this form:Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.