You are here: Re: Stopping 'Submit' by Return Key « HTML « IT news, forums, messages
Re: Stopping 'Submit' by Return Key

Posted by Ed Jay on 12/11/05 03:06

Michael Winter <m.winter@blueyonder.co.uk> wrote:

>On 10/12/2005 21:02, Ed Jay wrote:
>
>[snip]
>
>> I found the following script...
>>
>> var isNS =document.appName=="Netscape"?true:false;
>> var isIE =document.all?true:false;
>
>If you find other scripts that attempt to perform browser detection,
>move right along to the next one. Browser detection is unreliable, and
>any code that seems to depend on it is almost certainly badly written
>and should be avoided.

Thanks for the tip.
>
>As for your 'issue', take Jonathan's other suggestion: enforce
>completion if necessary with required fields. Users will /want/ to
>submit a form just by pressing <Enter> (I certainly do it all the time),
>and will think that something's wrong if nothing happens.
>
I did accept Jonathan's suggestion and I do my the Perl form verification
script alert the user to errant entries; however, my issue remains
resolved.

My form comprises three text boxes followed by a sizable array of checkbox
and radio button menus and questions. Followed by a final text box. All
radio buttons and checkboxes are default checked. If the user hits return,
all form fields' default values will be submitted.

--
Ed Jay (remove M to respond by email)

 

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

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