Title: Simple calculation
Last modified: August 20, 2016

---

# Simple calculation

 *  [Marja Beckers](https://wordpress.org/support/users/marbie/)
 * (@marbie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/simple-calculation/)
 * I need a form with a few checkboxes. Each containing an option with the value
   0 when unchecked and a price value when clicked.
 * Underneath that I need a field that adds the value of all these fields.
    I have
   tried a few things but I can´t work it out.
 * any help?
 * [http://wordpress.org/extend/plugins/jazzy-forms/](http://wordpress.org/extend/plugins/jazzy-forms/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [dvdbacco](https://wordpress.org/support/users/dvdbacco/)
 * (@dvdbacco)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/simple-calculation/#post-3266034)
 * Hello,
 * well, if I’ve understood, I think there is no problem doing what you ask, simply:
   
   Create a new form, call it as you want.
 * Add one CHECKBOX, selecting it and drag and drop on right menu, title it, ID 
   it with A
    “value for checked” = 10 “value for unchecked” = 0
 * Add another one CHECKBOX, title it, ID it with B
    “value for checked” = 20 “value
   for unchecked” = 0
 * Add another one CHECKBOX, title it, ID it with C
    “value for checked” = 30 “value
   for unchecked” = 0
 * Add a OUTPUT, title it, ID it with SUM
    “formula” = A+B+C “unit before number”
   = € or $ “leading zero” = 0 “decimals” = 2
 * Go to Generals copy and paste on your article or page the Jazzy code.
 * Done?
 * Greetings
    David
 * My Jazzy Form under the name of the fruits (in Italian sorry): [http://www.condifesa.ra.it/calcola-il-preventivo/](http://www.condifesa.ra.it/calcola-il-preventivo/)
 *  Thread Starter [Marja Beckers](https://wordpress.org/support/users/marbie/)
 * (@marbie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/simple-calculation/#post-3266036)
 * I must be doing something wrong, cause all I get in the output field is “invalid
   formula”.
    I have checked “Update output elements instantly” under general.
 * The ID of my output field is SUM
    and the formula is =A+B+C
 * The checkbox fields are also as you mentioned.
 * you can see it here:
    [http://www.marbiedesign.nl/dev/](http://www.marbiedesign.nl/dev/)
 *  Thread Starter [Marja Beckers](https://wordpress.org/support/users/marbie/)
 * (@marbie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/simple-calculation/#post-3266053)
 * This is how I configured it: [my form](http://www.marbiedesign.nl/dev/wp-content/uploads/form.jpg)
 * The fields B and C are configures as A part from the “value when checked”.
 *  [dvdbacco](https://wordpress.org/support/users/dvdbacco/)
 * (@dvdbacco)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/simple-calculation/#post-3266062)
 * Hello!
 * Solution is simple!
    Just remove the “=” on formula field… “A+B+C” is enough.
 * Try it and let me know…
 * Greatings
    David
 * _[sig moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome)]_
 *  Thread Starter [Marja Beckers](https://wordpress.org/support/users/marbie/)
 * (@marbie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/simple-calculation/#post-3266064)
 * Thanks!
    It turned out to be something in the theme (headway) as well. It works
   fine in twentytwelve.
 * Thanks again for your help!
 *  [dvdbacco](https://wordpress.org/support/users/dvdbacco/)
 * (@dvdbacco)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/simple-calculation/#post-3266072)
 * “ALL’S WELL THAT ENDS WELL”
 * You’re welcome…
 * David
    _[sig moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome)]_

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Simple calculation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jazzy-forms_dac291.svg)
 * [Jazzy Forms](https://wordpress.org/plugins/jazzy-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jazzy-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jazzy-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/jazzy-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jazzy-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jazzy-forms/reviews/)

## Tags

 * [calculation](https://wordpress.org/support/topic-tag/calculation/)
 * [estimate](https://wordpress.org/support/topic-tag/estimate/)

 * 6 replies
 * 2 participants
 * Last reply from: [dvdbacco](https://wordpress.org/support/users/dvdbacco/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/simple-calculation/#post-3266072)
 * Status: not resolved