Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Just Curious RangeValidator Behaviour

Status
Not open for further replies.
Jan 9, 2003
147
US
Hi,

Just kind of wondering, why does a single dash (i.e. "-") pass the range validator control as a "single between the values of 0 and 24"?

I realize that this is probably because you could have "-123", but I would think that just "-" should fail.

Kind of like how "$123" fails when it's set to validate as a currency.

Just curoius behaviour...

-FD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top