I've got a safecracker form which edits a channel entry. I want to display the categories that have been selected for the entry through check boxes, I've used this code:
{categories show_group="13"}
<input type="checkbox" name="category[]" id="{category_name}" value="{category_id}"{checked}> {category_name}<br>
{/categories}
Which works fine, the checkboxes that have been previously selected are showing up as selected, but it's ignoring the 'show_group="13"' parameter. It's showing all a categories for that channel but I just want it to show the category group 13.
I'm not sure where I'm going wrong? From the documentation it looks like I've got the right parameter, and 13 is definitely to category group id.
Is there any other way of displaying the categories selected for a certain category id for an entry?
Thanks, Julie