You are here: Re: How does one stop the enter-key from working? « HTML « IT news, forums, messages
Re: How does one stop the enter-key from working?

Posted by Leif K-Brooks on 04/26/07 17:08

Mr.G (@¿@) wrote:
> Hi and thanks in advance. I have a form and if the enter-key is
> pressed the from terminates and they never get to finish it. Is there
> a way to turn off the enter key?

That's standard, expected functionality. When an even slightly clueful
user presses the enter key in a form, they want to submit it. Don't make
that more difficult.

If people submitting the form prematurely is an issue, add a validator
which redisplays the form with an error message, pre-filled with
whatever data the user has entered already, when the submission is
incomplete.

 

Navigation:

[Reply to this 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

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