www.webdeveloper.com
Results 1 to 3 of 3

Thread: Form Question

  1. #1
    Join Date
    Dec 2002
    Location
    honolulu hawaii
    Posts
    4

    Form Question

    Afternoon-
    Is there a way that anyone knows of to have the cursor jump to the next box when the max input is entered such as with a phone number???

    Does anyone know if the email based forms are supposed to work on AOL/Netscape???? All that happens with what I am working on is the email editor pops up when the submit button is hit????

    Thanks Bodhy~

  2. #2
    Join Date
    Dec 2002
    Location
    Perth, Western Australia
    Posts
    55
    For the first part of the question, you can use JavaScript. I would do a check on the onKeyPress event of the text box (I think this works only in textarea though, not sure). If number of characters is reached, then send cursor to the next box:
    the_next_box.focus().

    With the email part, the most important thing is that the browsers in question actually mail it off to you, right? So, check that. If you want another page to load after the submit button is pressed, you might want to use the onSubmit event, again with JavaScript.

    But the email thing could go wrong, because there are many browsers out there. In your case, I would sign up for a free account from tripod, for example. I mean, in addition to what you have now. There they have CGI and you could send the user to a CGI script instead, which is nearly guaranteed to work 100% of the time.
    Not all browsers are good. Some of them go bad.
    Not long ago, one of them went as bad as you can go. His hame was I.. I... Well, people usually say that he is a browser That Must Not Be Named.
    That browser killed many of our best coding conventions. It twists features. It knows how to counter-bug any of our designs. It is in possesion of a group of supporters so large that no other browser may stand up to it and live.
    But now there is a hope.

    Site: http://nik-sergeev.com (wood sculpture).

  3. #3
    Join Date
    Dec 2002
    Location
    honolulu hawaii
    Posts
    4
    Thanks Pellinore- I was able to find it with onKeyUp thanks again.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles