Reply to Re: Stopping 'Submit' by Return Key

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация