Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Can't add Checkboxes (group) to UserDefinedForm

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1170 Views
  • cheekygeek
    Avatar
    Community Member
    6 Posts

    Can't add Checkboxes (group) to UserDefinedForm Link to this post

    Greetings all,
    I'm building my first site in SilverStripe 2.3.0-rc2 (on XAMPP for local development). I'm successfully adding and editing textfields and radio buttons, but when I try to enter Checkboxes (checkbox group) nothing shows up on screen.

    I'm getting some undefined variable errors:

    <br />
    <b>Notice</b>: Undefined variable: disabled in <b>C:\x\htdocs\windgenV1\sapphire\forms\EditableCheckboxOption.php</b> on line <b>79</b><br />
    <br />
    <b>Notice</b>: Undefined variable: default in <b>C:\x\htdocs\windgenV1\sapphire\forms\EditableCheckboxOption.php</b> on line <b>79</b><br />
    <br />

    <b>Notice</b>: Undefined variable: disabled in <b>C:\x\htdocs\windgenV1\sapphire\forms\EditableCheckboxOption.php</b> on line <b>79</b><br />
    <br />

    Here's what line 79 of that file currently looks like:

    Is this a bug? Can anyone tell me what line 79 should look like?

    Thanks in advance!

    1170 Views
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.