Kevin, you don't need the javascript:
<form name="form1">
Area<input name="areacode" size="3" type="text"
onkeyup="if(this.value.length==3)document.form1.prefix.focus();"><br>
Prefix<input name="prefix" type="text" >
</form>
-----Original Message-----
From: Kevin Mansel [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 1:47 PM
To: CF-Talk
Subject: OT : Forms Question...
Is there a way that once someone enters the maximum number of elements in a
form, that it automatically tabs to the next field???? In this example,
entering a phone number by areacode, prefix and suffix only. so once the
user enters the 3 digit area code, i want it to hop to the next field....is
this possible, if so can someone direct me to the solution????
Thanks
Kevin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists