Hi there
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(
new CheckboxSetField(
$name = "picture",
$title = "picture print",
$source = $map,
$value = $map[0]
)