Re: Forms - Text Fields - Numerical Values

by Nathan <natelyle(at)chartermi.net>

 Date:  Tue, 30 Apr 2002 19:43:21 -0400
 To:  HWG Techniques Email List <hwg-techniques(at)hwg.org>
 References: 
  todo: View Thread, Original
>The browser should send a 0, so I assume your problem is server-side.  The
>PHP function empty(), for instance, will return true for 0 OR an empty
>string (or if the variable is not set.) So, if the possibility exists that a
>form field might contain a valid result of 0, you should check that field
>specifically for an empty string using whatever tools your scripting
>language provides for this purpose.

I should probably have added the detail that it's the form processing
script from Matt's Script Archive I'm using. It's the only problem I've had
with it so far...

~Nathan Lyle

E-mail: natelyle(at)chartermi.net
Web: http://www.nathanlyle.com
Phone: (906)485-4806


"The idea of a mistake is beside the point, for once anything happens it
authentically is." - John Cage

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA