Restricting user input in textboxes

Soldato
Joined
12 Jan 2004
Posts
6,824
Location
Londinium
Hi guys,

does anyone know a good function or set of functions for restricting user input in textboxes? I am looking to allow only decimal numbers to 2dp. I am also coding in ASP.NET if that helps, but I am happy to integrate javascript functions myself.

Thanks!
 
i've never done it before, but i'm assuming you get regular expressions in ASP.net. search regular expressions or regex. i know how to do it in php, but not a clue for ASP...should be too hard though.
 
Back
Top Bottom