Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.snarked.org!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail From: doctor@doctor.nl2k.ab.ca (The Doctor) Newsgroups: comp.lang.javascript Subject: Re: Extracting data from a form Date: Mon, 8 Oct 2012 20:22:03 +0000 (UTC) Organization: NetKnow News Message-ID: References: Injection-Date: Mon, 8 Oct 2012 20:22:03 +0000 (UTC) Injection-Info: gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1"; logging-data="28076"; mail-complaints-to="usenet@gallifrey.nk.ca" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: doctor@doctor.nl2k.ab.ca (The Doctor) Xref: csiph.com comp.lang.javascript:16487 In article , Evertjan. wrote: >Dr J R Stockton wrote on 06 okt 2012 in comp.lang.javascript: > >> In comp.lang.javascript message > 0.0.44>, Fri, 5 Oct 2012 01:34:07, JJ >> posted: >> >>> The input quantity value in the >>>form must be a valid number greater than zero. Otherwise, if it's >>>negative or invalid number, it will be assumed as zero. >> >> Very bad practice. > >I don't think zo, IF ..... > >If this zero is used to generate an error response to the user, >it is acceptable. > >I would even add not-a-number to the zero response. > >> It should reported as unbelievable. > >Believing without reasonable substatiation is bad practice. > >But why [and where?] report this, >[even while unbelievable], >it being common practice in this world? > >-- >Evertjan. >The Netherlands. >(Please change the x'es to dots in my emailaddress) Tried it, did not work. -- Member - Liberal International This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! http://www.fullyfollow.me/rootnl2k USA petition to dissolve the Republic and vote to disoolve it in November 2012