Using a checkbox with CRDonationAPI boolean not working?

Options

I am trying to pass values through API using a checkbox, for example: (2 examples below)

<

input type="checkbox" class="checkbox" name="ecard.send" id="ecard.send"/>

<

input type="checkbox" class="checkbox" id="anonymous" name="anonymous" />

The debug log gives me the value of "on" and Thank You email always gives me 'false'. I can't seem to control them with default true/false values and as a result, ecard fields are not working and neither does the anonymous.

Am I not using proper syntax to send values to "boolean" API fields?

Thanks,

-serge

Tagged:

Comments

Categories