[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:
carriage returns in data (1997)
Re[2]: Next X hits (1996)
WebCatalog2 Feature Feedback (1996)
[format 40s]text[/format] doesn't work (1997)
[movefile] create stationery files (1998)
Number searching/formats (1998)
Forumulas.db & Variables (2002)
Upgrading old WebCat Database Files (1997)
Credit card types (1997)
triggering an update of two frames (1998)
2.0 Info (1997)
Protect vs Authenicate (1997)
Emailer (1997)
Search repost: (2000)
Shipcost lookup? (1997)
[OT] Am I an Idiot? (2004)
Re:Emailer and encryption (1997)
Weird cart problem (webcat 2.x) (2000)
log files (1998)
WebCat2 Append problem (B14Macacgi) (1997)