[WebDNA] Non-numbers entered into a field that asks for a number
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101586
interpreted = N
texte = On our add to cart form, we have a text field that requires a customer to enter the quantity of an item (it defaults to a quantity of 1). If a customer accidentally enters a letter, or any non-number, it looks like it converts that non-number to a random number.What is the best way to code the page so that the customer can't enter a non-number into the field?-- Ki SongKnifecenter, Inc.5111 Berwyn Rd. STE 110College Park, MD 20740(301) 486-0901 ext. 24 (local & international)(800) 338-6799 ext. 24 (toll free)(301) 486-0908 (fax)
Associated Messages, from the most recent to the oldest:
On our add to cart form, we have a text field that requires a customer to enter the quantity of an item (it defaults to a quantity of 1). If a customer accidentally enters a letter, or any non-number, it looks like it converts that non-number to a random number.What is the best way to code the page so that the customer can't enter a non-number into the field?-- Ki SongKnifecenter, Inc.5111 Berwyn Rd. STE 110College Park, MD 20740(301) 486-0901 ext. 24 (local & international)(800) 338-6799 ext. 24 (toll free)(301) 486-0908 (fax)
Ki Song
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
How to put the Trademark Symbol (%99) in Sendmail? (2003)
WebMerchant and PCAuthorize (1998)
WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998)
[WaitForFile] wait for open file, not closed file (2001)
[WebDNA] Converting minutes to hours (2008)
Hyperlink in email (2002)
[WebDNA] Recursive File Listing (Listfile) (2019)
The Form authentication trick (2000)
WebCatalog vs. Cold Fusion (1998)
Major bug report on rootbeer (1997)
[recordrank]? (2000)
RE: WebCat name recognition (was MacFinder -- a new WebDNAweb site) (1998)
notification solutions (1997)
Time Until (1999)
Problem with a search context (2005)
WC2b15 File Corruption (1997)
page chokes on hideif when false and ignored (1998)
ListFiles (1998)
Replacing a variable within a variable. (1998)
random prob (2003)