So You Want Interactive Form Elements, Huh?

Learn how to set up a form so that after the user fills in a pre-determined number of characters, the cursor jumps to the next form element all by itself.

provided by: 
Originally published at Internet.com


This has been a tutorial that's been sitting in my "working" directory for quite some time. My "working" file is place where I have little blips of code that could, at sometime or another, become a tutorial. Most of the pieces of code don't work. That's why they're in a working directory.

This concept always seemed like something that I could do, but I could never quite get it until I posted the code to the HTML Goodies Discussion groups. Thanks to Jim Young for helping. He reposted a code he created for a client that got the same effect I'll show you here. I didn't use his full code, just the one missing piece that I needed. Thank you Jim - you're a gentleman.

The Effect

I am often asked how to set up a form so that after the user fills in a pre-determined number of characters, the cursor jumps to the next form element all by itself.

Please understand that this only works with browsers version 4.0 and above. I'll tell you why in a moment. But don't let that stop you from installing this on your forms. Lower version browsers will not understand the Event Handler command and will not trigger the functions. That means no errors. Those that have browsers version 4.0 or higher get the effect, those who don't just fill in the form as they normally would...

Read article at Internet.com site
Regional Articles
- So You Want Interactive Form Elements, Huh? Alabama
- So You Want Interactive Form Elements, Huh? Alaska
- So You Want Interactive Form Elements, Huh? Arizona
- So You Want Interactive Form Elements, Huh? Arkansas
- So You Want Interactive Form Elements, Huh? California
- So You Want Interactive Form Elements, Huh? Colorado
- So You Want Interactive Form Elements, Huh? Connecticut
- So You Want Interactive Form Elements, Huh? DC
- So You Want Interactive Form Elements, Huh? Delaware
- So You Want Interactive Form Elements, Huh? Florida
- So You Want Interactive Form Elements, Huh? Georgia
- So You Want Interactive Form Elements, Huh? Hawaii
- So You Want Interactive Form Elements, Huh? Idaho
- So You Want Interactive Form Elements, Huh? Illinois
- So You Want Interactive Form Elements, Huh? Indiana
- So You Want Interactive Form Elements, Huh? Iowa
- So You Want Interactive Form Elements, Huh? Kansas
- So You Want Interactive Form Elements, Huh? Kentucky
- So You Want Interactive Form Elements, Huh? Louisiana
- So You Want Interactive Form Elements, Huh? Maine
- So You Want Interactive Form Elements, Huh? Maryland
- So You Want Interactive Form Elements, Huh? Massachusetts
- So You Want Interactive Form Elements, Huh? Michigan
- So You Want Interactive Form Elements, Huh? Minnesota
- So You Want Interactive Form Elements, Huh? Mississippi
- So You Want Interactive Form Elements, Huh? Missouri
- So You Want Interactive Form Elements, Huh? Montana
- So You Want Interactive Form Elements, Huh? Nebraska
- So You Want Interactive Form Elements, Huh? Nevada
- So You Want Interactive Form Elements, Huh? New Hampshire
- So You Want Interactive Form Elements, Huh? New Jersey
- So You Want Interactive Form Elements, Huh? New Mexico
- So You Want Interactive Form Elements, Huh? New York
- So You Want Interactive Form Elements, Huh? North Carolina
- So You Want Interactive Form Elements, Huh? North Dakota
- So You Want Interactive Form Elements, Huh? Ohio
- So You Want Interactive Form Elements, Huh? Oklahoma
- So You Want Interactive Form Elements, Huh? Oregon
- So You Want Interactive Form Elements, Huh? Pennsylvania
- So You Want Interactive Form Elements, Huh? Rhode Island
- So You Want Interactive Form Elements, Huh? South Carolina
- So You Want Interactive Form Elements, Huh? South Dakota
- So You Want Interactive Form Elements, Huh? Tennessee
- So You Want Interactive Form Elements, Huh? Texas
- So You Want Interactive Form Elements, Huh? Utah
- So You Want Interactive Form Elements, Huh? Vermont
- So You Want Interactive Form Elements, Huh? Virginia
- So You Want Interactive Form Elements, Huh? Washington
- So You Want Interactive Form Elements, Huh? West Virginia
- So You Want Interactive Form Elements, Huh? Wisconsin
- So You Want Interactive Form Elements, Huh? Wyoming
Related Articles
- Silverlight Review
Silverlight has now been around for a while. In fact, the beta for Silverlight 3 has now been released. Get the answers to common questions being asked by Users, business people, and Developers in regard to why Silverlight is important.
- Remove all HTML Flags
- Box Properties
- Arrays in PHP
- Learning PHP: Storing Basic Information
- The zones of the time zone clock
- CSS and the Scrollbar
- Writing the E-mail
- A Video Game
- Third password tutorial

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML