Validating a textbox field
Database
2
Posts
2
Posters
0
Views
1
Watching
-
I 've got a textbox which has to accept only numeric values..do i use the regularexpression validator(if so how?)
karabo mekgwe Ecom Institute
-
I 've got a textbox which has to accept only numeric values..do i use the regularexpression validator(if so how?)
karabo mekgwe Ecom Institute
wrote:
do i use the regularexpression validator(if so how?)
You can do. Off the top of my head the regular expression would be something like
^[0-9]*$
NOTE: This accepts only positive integers only.
Upcoming events: * Edinburgh: Web Security Conference Day for Windows Developers (12th April) * Glasgow: AJAX, SQL Server, Mock Objects My: Website | Blog | Photos