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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

UserDefinedForms Template for Checkbox Group Field Options


Go to End


2 Posts   1214 Views

Avatar
Vix

Community Member, 60 Posts

11 April 2016 at 6:54pm

Does anyone know where I might find the template for the Checkbox Group Field Options? All I need to do is add a span to the label so I can style it a bit better, but can't for the life of my find the right template.

The UserformsCheckboxField.ss does it for the single checkbox, but not the group items.

I have tried editing CheckboxField.ss, OptionsetField.ss & CheckboxSetField.ss in the framework directory also and this makes no effect.

Thanks

Avatar
anru

Community Member, 7 Posts

18 April 2016 at 2:25pm

try
UserFormsCheckboxField_holder_small.ss or UserFormsCheckboxField_holder.ss