perayo
06-23-2003, 06:01 PM
A form with only 1 field:
<form action="formmail.cgi" method="post">
Name <input type="text" name="Name">
<input type="submit" name="submit" vaue="submit">
After filling in the Name field and hit the enter key on my keyboard, it doesnt do anything. Actually, the pg kinda blinks and whatever I filled in is gone. It's like the pg just reloads. I must use my mouse to hit the submit button in order for it to do what it's supposed to do.
This only happens when the form has 1 field. When there's more than 1, it works fine.
Why is that?
Thanks.
<form action="formmail.cgi" method="post">
Name <input type="text" name="Name">
<input type="submit" name="submit" vaue="submit">
After filling in the Name field and hit the enter key on my keyboard, it doesnt do anything. Actually, the pg kinda blinks and whatever I filled in is gone. It's like the pg just reloads. I must use my mouse to hit the submit button in order for it to do what it's supposed to do.
This only happens when the form has 1 field. When there's more than 1, it works fine.
Why is that?
Thanks.