Here is what I am trying to do.
I am using Safecracker to do the add/edit posting, but when the user click on a checkbox, then
go to edit the posting, the check box is not there.
I am using Gwcode Categories Plugin, outputting my categories as checkboxes
because it has more feature and flexibility then the built in safecracker categories tag
GWCode Categories
<ul>
{exp:gwcode_categories group_id="9"}
<li>
<input type="checkbox" id="categories" name="category[]" value="{cat_id}" {checked} />
<span>{cat_name}</span>
</li>
{/exp:gwcode_categories}
</ul>but when I use Safecracker
<ul>
{categories}
<li><input type="checkbox" name="category[]" id="categories" value="{category_id}" {checked} />
<span>{category_name}</span> </li>
{/categories}
</ul>the checkbox is there.
why I cant just used the {checked} in the Gwcode Categories and why does it have to be in
{categories}{/categories}
I want more flexibility.