I do not understand why the examples in the manual not work. Here in the forum I do not see the ricgt code as well. I feel stupid.
I have a field, defined as checkboxes, values populated by other field. (I do not know how many values my client fills in there)
Please, how do I code this in my form? In the form, when coding {MYFIELDNAME} it just puts out all the values, no checkboxes there. This code does not work either:
{options:MYFIELDNAME}
<label class="checkbox">
<input type="checkbox" id="{MYFIELDNAME}" name="{MYFIELDNAME}[]" value="{option_value}"{checked}> {option_value}
</label>
{/options:MYFIELDNAME}