Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1

Thread: Form Submitting

  1. #1
    Regular Coder
    Join Date
    Mar 2007
    Posts
    357
    Thanks
    46
    Thanked 22 Times in 21 Posts

    Form Submitting

    Code:
    <form name="ulogin" method="POST" id="formlogin" action="index.php">
    	<input name="uuser" type="text" value="Username" onBlur="loginCheck(this)" onFocus="clearT(this)" onKeyDown="">
    	<input name="upass" type="password" value="Password" onBlur="loginCheck(this)" onFocus="clearT(this)">
    	<input type="hidden" value="1" name="login">
    <center><button type="submit">Go</button></center>
    Quick question, very nooby probably but. Submits when I press the button. But when i press enter, it reloads the page but no data was submitted because it just reloads.

    http://s0mesite.freehostia.com

    To see in action.

    Login: 3dstz
    Pass: 3d
    (Temporary account)

    I'm using firefox by the way.

    Edit:
    Ok I asked some people to test, but it worked for them pressing enter. Just not for me. So this is in the wrong forum. So new question, and maybe you could move the post.

    What firefox settting could be making it not work when i press enter?
    Last edited by flynch01; 02-03-2008 at 12:33 AM.


 

Posting Permissions

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