This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » development » Feature requests » Getting detail errors from Validators
Getting detail errors from Validators [message #84785] Thu, 03 September 2009 15:11
DigitalMechanic  is currently offline DigitalMechanic
Messages: 38
Registered: February 2008
Location: USA
Member
I'd like to see it be easier to extract validation errors after form bind and call to isValid(). Not the validation error that's rendered in the form - but the validator error detail (such as Which validator failed). At the very least would be nice to have the isValid( ) method return an array of invalid form field names. So:
isValid( ) == FALSE on Initial Display
isValid( ) == TRUE if all is well.
isValid( ) == Array[unhappy_validators]
Previous Topic:Manual layout forms
Next Topic:8o Custom filter and custom sorting in admin generator
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software