RangeValidator - not working when user enters a space

G

Guest

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
 
A

Ashish M Bhonkiya

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 said:
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top