Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Policy agreement

Go to End

10 Posts   1624 Views


Forum Moderator, 1899 Posts

3 May 2012 at 1:45am

ah well another lool at the documentation says it returns a "ValidationResult" instead of just true/false - try

1. satsifying your self that you coudl always force it to return false and the error message - e.g. if (1)
2. interpreting ValidationResult for the real answer and using that in the "if"


Community Member, 201 Posts

3 May 2012 at 7:43pm

Ok i'll have a play and see if i can get it working, will paste the code up.

Cheers for your help.


Go to Top