Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » ChechboxField Checked

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
Go to End
Author Topic: 523 Views
  • Mo
    Community Member
    485 Posts

    ChechboxField Checked Link to this post

    Hi All,

    I am generating a CheckboxField that I want to be checked by default. I am using:

    new CheckboxField('isAdmin','Is this user an Administrator?',1));

    But this doesn't do anything.

    Any thoughts?


Page: 1
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.