CompareValidator
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
-
The compare validator for type="Currency", does not allow () for a negative amount. Does anyone know a way around this? 45.00 // allowed -45.00 // allowed (45.00) // not allowed I really need to allow () for a negative amount. Thanks anyone who can help.
You can always use a regular expression or custom validator to do that validation. I suspect there is some kind of regional setting to make that validation work, but it is probably safer to do it yourself.
I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon