Posted by Ed Jay on 12/10/05 22:34
"Jonathan N. Little" <lws4art@centralva.net> wrote:
>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.
Thanks a bunch.
--
Ed Jay (remove M to respond by email)
[Back to original message]
|