|
Posted by Jonathan N. Little on 12/10/05 22:27
Ed Jay wrote:
> Leif K-Brooks <eurleif@ecritters.biz> wrote:
>
>
>>Ed Jay wrote:
>>
>>>Is there a method to prevent submitting a form when the user presses the
>>>Return key?
>>
>>Change your browser settings.
>
>
> Thank you. Now, how do I do it on my page so that visitors don't have to
> be told to change their browser settings?
>
Will need javascript but Google is your friend:
http://www.google.com/search?hl=en&q=kill+enter+key+forms&btnG=Google+Search
Other alternative, which you should have anyway, is server validation
that all required fields are supplied, else return to form with some
error description.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|