Hi,
First I defined channel field name=gbcb_focus_areas, type is checkbox.
{exp:safecracker channel="gbcb_member_profiles" url_title="{username}” logged_out_member_id=”{member_id}” preserve_checkboxes=“yes”}
1)
I can get checkbox value when I use the field tag (below code), but the checkbox layout can not be controlled. Checkbox is displayed horizontal. Can I display the checkbox items in vertical?
{field:gbcb_focus_areas}<br>
2)checked checkbox value is not saved in the control panel (below code). Thanks for any suggestion.
{custom_fields}
{if checkbox}
{options}
<label class=“checkbox”>{option_value}
<input type=“checkbox” id=”{gbcb_focus_areas}” name=”{gbcb_focus_areas}[]” value=”{option_value}”{checked}><br>
</label>
{/options}
{/if}
{/custom_fields}