• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Forms > Auto-Focusing Form Fields

Auto-Focusing Form Fields

If visitors will use your form often, it helps if you go ahead and place the cursor into the first form field once the page loads, so that they can start typing (Figure 8.10). Then, beyond setting the stage with the first form field, you can use JavaScript to automatically pop visitors between form fields. For example, if they’re entering a phone number, you can have the cursor tab automatically from the area code to the prefix to the number (Figure 8.11).

Figure 8.10. The first field in the form is automatically in focus as soon as the page loads.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint