Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Policy agreement

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

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

Page: 1 2
Go to End
Author Topic: 837 Views
  • swaiba
    Avatar
    Forum Moderator
    1788 Posts

    Re: Policy agreement Link to this post

    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"

  • cumquat
    Avatar
    Community Member
    196 Posts

    Re: Policy agreement Link to this post

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

    Cheers for your help.

    Mick

    837 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.