[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 Song Knifecenter, Inc. 5111 Berwyn Rd. STE 110 College 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:

    
  1. Re: [WebDNA] Non-numbers entered into a field that asks for a number (Stuart Tremain 2008)
  2. Re: [WebDNA] Non-numbers entered into a field that asks for a number (Marc Thompson 2008)
  3. Re: [WebDNA] Non-numbers entered into a field that asks for a number (Govinda 2008)
  4. Re: [WebDNA] Non-numbers entered into a field that asks for a number (Ki Song 2008)
  5. Re: [WebDNA] Non-numbers entered into a field that asks for a number (Marc Thompson 2008)
  6. [WebDNA] Non-numbers entered into a field that asks for a number (Ki Song 2008)
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 Song Knifecenter, Inc. 5111 Berwyn Rd. STE 110 College 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:

writing checkboxes to a database (2000) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) WebCatalog 2.1b4/Mac available (1997) WebCatalog2 Feature Feedback (1996) Runnaway Trigger (2007) Solution: [searh] or [shownext]problem (1998) web delivery (1997) cart converting to scientific notation format (2001) [WebDNA] Clean URLS job - will pay (2010) Another question (1997) Newbie needs advice to learn to use WebDNA (2003) Weird problems with [SHOWIF]s (1997) Re WebDNA has reached it connection limit (2004) Line items in table cells (1997) still facing truncated [texta] problem (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) AuthenticateChecker (2000) Only charge card when product shipped ? (1997) Reindexing a db with duplicate numbers... (1999) WebCatalog 4.0.2b5 available (2000)