Hello
I am trying to save data from a SafeCraker form to a channel and actually I am able to save most of the data but checkbox field data.
The code I am using is like this:
-------------------
{exp:safecracker channel="contacto" return="contacto/confirmacion" preserve_checkboxes="yes" rules:contacto_email="valid_email"}
.
.
.
{options:contacto_recibir_correos}
<input type="checkbox" class="checkbox" value="{contacto_recibir_correos}" name="{contacto_recibir_correos}[]" id="{contacto_recibir_correos}" checked />
<label>{option_value}</label>
{/options:contacto_recibir_correos}
.
.
.
{/exp:safecracker}
-------------------Any idea what I am doing wrong?
Thanks in advance
Jhon E.