I think the following will work, but is untested:

<form name="skipform" action="something.cfm">
<input type="text" name="first">
<input type="text" name="second" onFocus="document.skipform.third.focus();">
<input type="text" name="third">
</form>



  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Paolo Cesana [mailto:PaoloC@;mif.com]
: Sent: Wednesday, November 06, 2002 11:15 AM
: To: CF-Talk
: Subject: Form with tab stops
:
:
: What can I use to avoid/skip a field when a user presses TAB in a form?
:
: Tks/Rgds
:
:
:
:
:
: Paolo Cesana
: IT Development Mgr.
: "Electricity is not the result of a series of upgrades to the candle"
: Auth. unknown
:
:
: Miami International Forwarders (MIF)
:
: Phone: (305)594-0038 Ext. 7326
: Fax: (305)593-0431
: <mailto:paoloc@;mif.com>
: <http://www.mif.com/>
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to