samedi 29 mars 2014

Checkbox value in form submitted as true/false instead of 1/0

Hi,



I have a form that includes a checkbox field and on form submit, I want the checkbox value as 1 or 0.

The jsonSubmit is enabled for the form.

The checkbox value is submitted as true or false instead of 1 or 0.

I have specified the inputValue and uncheckedValue for the form.

The value is submitted as 1 or 0 when jsonSubmit is disabled.



How to solve this problem.



Please help.



Thanks




Aucun commentaire:

Enregistrer un commentaire