quite simply for tieing up those loose ends of my form processing, id like to validate that some of the fields which require interger input (i.e. a number) are actually an integer and not a string so i can catch and handle the error.
e.g.
StockLevel = 100 (should be the correct input)
StockLevel = "fubar" (should throw an error)
something similar for prices which should be entered in xx.xx format.
im thinking regular expressions here, am i right?
validating input from forms
Moderator: General Moderators
- theYinYeti
- Forum Newbie
- Posts: 15
- Joined: Thu Oct 26, 2006 3:33 pm
- Location: France