Title: Calculate Buttons
Last modified: April 11, 2018

---

# Calculate Buttons

 *  Resolved [montey11](https://wordpress.org/support/users/montey11/)
 * (@montey11)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/calculate-buttons/)
 * Hi,
 * How do you get the calculate buttons to work? So you enter into the fields and
   then click the calculate button to show the total sum.
 * Thanks, great support and plugin!

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/calculate-buttons/#post-10171838)
 * Hello [@montey11](https://wordpress.org/support/users/montey11/),
 * If you don’t want evaluate the equations dynamically, only after pressing the“
   calculate” button, simply, follow the steps below:
 * 1. Insert a button field in the form, and select the “calculate” option as the
   button type.
 * 2. And then, untick the checkbox: “Eval dynamically the equations associated 
   to the calculated fields” in the “Form Settings” tab ([https://cff.dwbooster.com/images/documentation/form-settings-tab.png](https://cff.dwbooster.com/images/documentation/form-settings-tab.png))
 * and that’s all.
    Best regards.
 *  [shelroy](https://wordpress.org/support/users/shelroy/)
 * (@shelroy)
 * [8 years ago](https://wordpress.org/support/topic/calculate-buttons/#post-10372542)
 * Thank you. This worked for me.
 * Can I show my calculated fields only after the submit button has be clicked ?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [8 years ago](https://wordpress.org/support/topic/calculate-buttons/#post-10372585)
 * Hello [@shelroy](https://wordpress.org/support/users/shelroy/),
 * Yes that’s possible, but not ticking the checkbox for hiding the field from the
   public form, because in this case the plugin use input tags with type=”hidden”
   and wouldn’t way to display them. The alternative would be:
 * 1. Select the calculated fields and assign to them the special class name: hide
 * Note: The class names are assigned to the fields through their attributes: “Add
   CSS Layout Keywords” on their settings.
 * 2. Second, enter the following piece of code as the onclick event of the calculate
   button:
 *     ```
       jQuery('.hide').removeClass('hide');
       ```
   
 * and that’s all.
    Best regards.

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

The topic ‘Calculate Buttons’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](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/)

 * 3 replies
 * 3 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/calculate-buttons/#post-10372585)
 * Status: resolved