[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:
OS X permissions to write to Globals directory (2003)
Client-side Image Maps and WebCat? (1998)
WebDNA Developers' Network ---- Thank you (2002)
Just Testing (1997)
To Use Cookies or Not To Use Cookies (2003)
slow site (2003)
Email encryption (1998)
Re:2nd WebCatalog2 Feature Request (1996)
Tab Charactor (1997)
CommandSecurity? (1997)
Updating a database once per day - An example (1998)
[OT] DOD again (2003)
system crashes, event log (1997)
PCS Frames (1997)
Can you do this??? and other stuff (1997)
HTML encoding in URLs (1997)
Banners and sort of random display (1997)
[cart] not being interpreted inside [founditems] (1997)
Search/sort in URL Was: GuestBook example (1997)
Fun with dates (1997)