EasyCFM.COM ColdFusion Forums / Coding Help! / Cursor Question

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: Cursor Question

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

boomer32
01-06-2005 @ 1:51 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 16
Joined: Nov 2004

This is my code for my phone number entry into the existing form I have on a cold fusion page...

<tr>
        <td width="20%">Phone Number:</td>
          <td>(<input type="text" name="NPA" value="" size="3" maxlength="3" >) <input type="text" name="NXX" value="" size="3" maxlength="3" > - <input type="text" name="PhoneNum" value="" size="5" maxlength="4" ></td>
    </tr>

When the user fills in the phone number I want some code to make the cursor go to the next box when they type the number in...example 270 cursor jumps to next box...334 cursor jumps to next...etc...this will be javascript right well i am new....any help on how to code this would be greatly apprecited...thanks

Boomer

kene
01-06-2005 @ 4:14 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Senior Member
Posts: 180
Joined: Sep 2003

You can try the script available at this address.
http://javascript.internet.com/forms/auto-tab.html

Most of the scripts on this site work reasonably well and I have used a few to quickly accomplish something rather than starting from scratch.

HTH

boomer32
01-06-2005 @ 6:30 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 16
Joined: Nov 2004

THANKS SO MUCH FOR YOUR HELP!! I had to clean it up a little to get it to work with my script but its great thanks again...

Boomer


Website Designed and Developed by Pablo Varando.