Title: Checkbox
Last modified: August 22, 2016

---

# Checkbox

 *  Resolved [robertiii](https://wordpress.org/support/users/robertiii/)
 * (@robertiii)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/checkbox-9/)
 * How can I set the total to see if a particular checkbox is checked? I have an
   option for room and board and need to add or subtract from total when the checkbox
   is checked or unchecked. Also is there a way to have a hidden field added only
   if it is shown in the dependancies?
 * [https://wordpress.org/plugins/calculated-fields-form/](https://wordpress.org/plugins/calculated-fields-form/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/checkbox-9/#post-5609933)
 * Hi,
 * Q: How can I set the total to see if a particular checkbox is checked?
 * A: The checkboxes accepts dependencies, if you want set the total if a particular
   checkbox is checked, set the calculated field for total as dependent of the checkbox.
 * The same occur with your other question. You can include a dependent field in
   your form, and add it to your equation, if the checkbox is checked the field 
   will be added to the equation, if the checkbox is unchecked the field’s value
   is considered as zero, and not vary the equation’s result.
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Checkbox’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/checkbox-9/#post-5609933)
 * Status: resolved