Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #7816

Re: delete vs period

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Dr J R Stockton <reply1143@merlyn.demon.co.uk>
Newsgroups comp.lang.javascript
Subject Re: delete vs period
Date Sat, 29 Oct 2011 20:55:55 +0100
Organization Home
Lines 26
Message-ID <B2nPEPELpFrOFwof@invalid.uk.co.demon.merlyn.invalid> (permalink)
References <0pela7hpbnnkafvdis9mgk1f86vete3oo5@4ax.com> <7fdedd50-754e-491c-842e-baea1de726cd@4g2000yqu.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain;charset=us-ascii
Injection-Info mx04.eternal-september.org; posting-host="UwYDIHu13GPq28RciNoAJA"; logging-data="2314"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NSA3CwWpFON6G4ghdoVjCmyxEwD3gvG4="
User-Agent Turnpike/6.05-S (<h12ExlgkcssKnA9uL+7bCnIcpp>)
Cancel-Lock sha1:5I2sPDvxchf3VZESKHh1yJokUT0=
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:7816

Show key headers only | View raw


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 | NextPrevious in thread | Find similar | Unroll thread


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