24 June 2013 at 3:12am
(Last edited: 24 June 2013 3:43am),
Why I can't show a picture (with the code shown after) for a checkbox but for a radio button it works. I need to show the image next to the checkbox field, so that the user can check images and send them to a next page. When I take the checkboxsetfields then it just shows text but not the img tag and the source of the picture. When I choose optionssetfields then it works. I receive an image.
$map = Referenzen::get()->map('ID','Photo');
// Instantiate the CheckboxsetField
$FieldList = new FieldList(
14 August 2013 at 12:46am
can you show and explain me your solution step by step? I have a similar situation: I also want to have images next to my checkboxfields. Furthermore I should be able to add or change these images in the backend. How can I do this?
I'm a little helpless here so I would really appreciate your help!