Jump to:

23367 Posts in 18143 Topics by 2863 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: 547 Views
  • Mo
    Community Member
    504 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.