views:

28

answers:

1

I was using RangeValidator to validate user input on client side for double values.

One of my user said that when he enters 5E-10, my range validator does not understand that number as a valid double.

What do you suggest me to do?

Thanks, cas

+1  A: 

This is a known problem with RangeValidator.

You'll need to use a CustomValidator instead, and manually verify the user's input is within the allowed range - including allowing scientific notation.

womp