Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #7816
| From | Dr J R Stockton <reply1143@merlyn.demon.co.uk> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: delete vs period |
| Date | 2011-10-29 20:55 +0100 |
| Organization | Home |
| Message-ID | <B2nPEPELpFrOFwof@invalid.uk.co.demon.merlyn.invalid> (permalink) |
| References | <0pela7hpbnnkafvdis9mgk1f86vete3oo5@4ax.com> <7fdedd50-754e-491c-842e-baea1de726cd@4g2000yqu.googlegroups.com> |
In comp.lang.javascript message <7fdedd50-754e-491c-842e-baea1de726cd@4g 2000yqu.googlegroups.com>, Fri, 28 Oct 2011 09:27:31, Antony Scriven <adscriven@gmail.com> posted: >It sounds like you're using onkeypress. Try onkeydown >instead. Alternatively you could let the user input whatever >they like, but display an error if they try to submit the >form (if that's the scenario). That's easier. --Antony It depends a little on the application. A professional data entry clerk may like to have characters typed in one by one and immediately checked for acceptability. That, implemented literally, would not help those who enter with copy'n'paste or drag'n'drop. Sometimes, users really benefit from being able to copy anything into the field, and then editing until right, then signifying completion, at which stage validation can be appropriate. -- (c) John Stockton, nr London UK. ?@merlyn.demon.co.uk BP7, Delphi 3 & 2006. <http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links; <http://www.bancoems.com/CompLangPascalDelphiMisc-MiniFAQ.htm> clpdmFAQ; NOT <http://support.codegear.com/newsgroups/>: news:borland.* Guidelines
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
delete vs period Tim Slattery <Slattery_T@bls.gov> - 2011-10-28 10:30 -0400
Re: delete vs period Swifty <steve.j.swift@gmail.com> - 2011-10-28 16:24 +0100
Re: delete vs period Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2011-10-28 17:57 +0200
Re: delete vs period Tim Slattery <Slattery_T@bls.gov> - 2011-10-28 12:28 -0400
Re: delete vs period Antony Scriven <adscriven@gmail.com> - 2011-10-28 09:27 -0700
Re: delete vs period Dr J R Stockton <reply1143@merlyn.demon.co.uk> - 2011-10-29 20:55 +0100
csiph-web