Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > RangeValidator - not working when user enters a space

Reply
Thread Tools

RangeValidator - not working when user enters a space

 
 
=?Utf-8?B?dGNi?=
Guest
Posts: n/a
 
      04-26-2004
I have a RangeValidator setup for two input fields. The validator Type is set to Integer. If the user enters an alpha numeric, the validator works, however, if the user enters a space, the validator does not work. Does anyone know why this validator doesn't work for a space (or how to fix it
Thanks
tcb
 
Reply With Quote
 
 
 
 
Ashish M Bhonkiya
Guest
Posts: n/a
 
      04-27-2004
Hi,

you can keep a regular expression validator on that input field which does
not allow the user to input any spaces. should solve your problem

Regards
Ashish M Bhonkiya

"tcb" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a RangeValidator setup for two input fields. The validator Type is

set to Integer. If the user enters an alpha numeric, the validator works,
however, if the user enters a space, the validator does not work. Does
anyone know why this validator doesn't work for a space (or how to fix it)
> Thanks!
> tcb



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rangevalidator not working cashdeskmac ASP .Net 1 05-20-2009 11:19 AM
RangeValidator < 0 not working Cirene ASP .Net 1 10-22-2007 04:24 PM
can I use scanf to get input (some times user enters input sometimes not, just hit keyboard)? santa19992000@yahoo.com C Programming 4 09-09-2005 03:38 AM
CompareValidator not working where a RangeValidator is hooterbite@yahoo.com ASP .Net 3 03-29-2005 05:19 PM
Help: RangeValidator Not Working! Lucas Tam ASP .Net 2 01-31-2005 04:09 PM



Advertisments