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

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top