# Updating leads using check-box/radio buttons in Forms

**URL:** <https://forum.mautic.org/t/updating-leads-using-check-box-radio-buttons-in-forms/2918>\
**Category:** Product Support\
**Created:** [December 7, 2015, 5:23pm UTC](https://forum.mautic.org/t/updating-leads-using-check-box-radio-buttons-in-forms/2918 "2015-12-07T17:23:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehill](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ehill](https://forum.mautic.org/u/ehill)\
**Post date:** [December 7, 2015, 5:23pm UTC](https://forum.mautic.org/t/updating-leads-using-check-box-radio-buttons-in-forms/2918/1 "2015-12-07T17:23:33Z")

</div>

@escopecz We are wondering whether we are setting this up correctly or whether we have uncovered a bug. We have a field called ‘has kids’ in which there are two values ‘yes’ and ‘no’. We then create a form in which there is a Select input of ‘have kids’ and the two values are ‘yes’ and ‘no’. We have found with both radio buttons and check-boxes that value are not being written to the DB. When we look at the form HTML it looks like both values for the check boxes are added as ‘yes’ and when we edit the HTML that corrects the problem. We can’t find out what is going on with radio buttons.

---

<div class="post-metadata">

**Author:** ![ehill](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ehill](https://forum.mautic.org/u/ehill)\
**Post date:** [December 7, 2015, 5:23pm UTC](https://forum.mautic.org/t/updating-leads-using-check-box-radio-buttons-in-forms/2918/2 "2015-12-07T17:23:33Z")

</div>

@escopecz We are wondering whether we are setting this up correctly or whether we have uncovered a bug. We have a field called ‘has kids’ in which there are two values ‘yes’ and ‘no’. We then create a form in which there is a Select input of ‘have kids’ and the two values are ‘yes’ and ‘no’. We have found with both radio buttons and check-boxes that value are not being written to the DB. When we look at the form HTML it looks like both values for the check boxes are added as ‘yes’ and when we edit the HTML that corrects the problem. We can’t find out what is going on with radio buttons.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [December 9, 2015, 7:33am UTC](https://forum.mautic.org/t/updating-leads-using-check-box-radio-buttons-in-forms/2918/3 "2015-12-09T07:33:35Z")

</div>

What version of Mautic do you use? I know this was a known issue a while back, but it should be fixed in 1.2.2.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:56pm UTC](https://forum.mautic.org/t/updating-leads-using-check-box-radio-buttons-in-forms/2918/4 "2020-02-02T22:56:41Z")

</div>


