1779 Posts in 582 Topics by 556 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1475 Views |
-
Custom validator error message

18 March 2010 at 1:40am
Hello,
I was wondering if there is an easy way to override the error message returned by the validator. I looked at Sapphire/Validator.php, but I can't figure it out myself..
Cheers
Katja -
Re: Custom validator error message

22 February 2011 at 3:16am
And old post, but I thought I'd reply any way so it's there for searchers..
FormFields have a setCustomValidationMessage function which should propably work:
$myField->setCustomValidationMessage($msg);
| 1475 Views | ||
|
Page:
1
|
Go to Top |


