I have a custom Boolean field that I’m trying to update from a checkbox on a form. The problem is that the form is sending Mautic the label of the checkbox (“Yes!”), which Mautic can’t put into a Boolean field (it’s not 0 or 1). If I rename the label to “1”, it works, and if I point the checkbox to a text field, it populates it with “Yes!”.
Is there any way I can get the form to correctly populate the Boolean field with a 1 if the “Yes!” box is checked?
I have a custom Boolean field that I’m trying to update from a checkbox on a form. The problem is that the form is sending Mautic the label of the checkbox (“Yes!”), which Mautic can’t put into a Boolean field (it’s not 0 or 1). If I rename the label to “1”, it works, and if I point the checkbox to a text field, it populates it with “Yes!”.
Is there any way I can get the form to correctly populate the Boolean field with a 1 if the “Yes!” box is checked?