[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:
Graphical display of sales volume (2003)
ANother SHOWIF problem (1997)
WebCatalog can't find database (1997)
Clean Code: Rules for inserting keyboard returns? (1997)
Lookup within a Search (2005)
[WebDNA] Upgrade 4.5.1 to 6.0a (2009)
UPS charges (2000)
syntax question, not in online refernce (1997)
Need relative path explanation (1997)
maximu values for sendmail! (1997)
How can I Add several Items into the cart at once? (1997)
RE: anyone know how to restart dbserver on NT automatically (1999)
[WebDNA] Downloadable docs (2011)
Separate SSL Server (1997)
Apple event reply error (-1) (1997)
[BoldWords] WebCat.acgib15Mac (1997)
Caching pages...again (2001)
b18 problem on NT 4.0 (1997)
FEW QUESTIONS (1997)
Having trouble installing on Windows XP Pro... (2006)