PDA

View Full Version : Any way to check why field isValid = false?



dbassett74
27 Aug 2009, 9:08 AM
I would like to display a nice messagebox to the end user indicating why a field is invalid, rather than just saying one or more items are invalid. But it doesn't seem like the isValid() method allows you to determine why something is not valid, like is it maxLength, format, etc. Any help would be appreciated.

steffenk
27 Aug 2009, 12:02 PM
you should know it, as you define the rules for validation ;)