Title: Calculate button
Last modified: August 22, 2016

---

# Calculate button

 *  Resolved [UserDG](https://wordpress.org/support/users/tenkepadu/)
 * (@tenkepadu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/)
 * Hi,
 * It is possible that everytime the user change the no. of terms and click the 
   calculate button it will automatically produce new monthly payment?
 * Like the user don’t need to click the reset button
 * Here’s the site [http://www.homecredit.ph/2177-2/](http://www.homecredit.ph/2177-2/)
 * Thank you
 * [https://wordpress.org/plugins/calculated-fields-form/](https://wordpress.org/plugins/calculated-fields-form/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/calculate-button/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/calculate-button/page/2/?output_format=md)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364541)
 * Hi,
 * The URL you sent me, displays a 404 Error, page not found.
 * Best regards.
 *  Thread Starter [UserDG](https://wordpress.org/support/users/tenkepadu/)
 * (@tenkepadu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364542)
 * ops. sorry, its visible now
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364546)
 * Hi,
 * In your form, the button called “calculate” is of type “button”, and should be
   of type “calculate”.
 * Best regards.
 *  Thread Starter [UserDG](https://wordpress.org/support/users/tenkepadu/)
 * (@tenkepadu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364552)
 * If i change that, it will recalculate the monthly payment if I chage the no. 
   of terms? even if i didn’t click the reset?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364563)
 * Hi,
 * Yes, each time you press the “Calculate” button, will be evaluated all equations.
 * Best regards.
 *  Thread Starter [UserDG](https://wordpress.org/support/users/tenkepadu/)
 * (@tenkepadu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364569)
 * it’s not working.
 * I choose laptop
    amount: 50000 downpayment: 12000 I choose 9 terms monthly: 4,167
 * but when i change the no.of terms, the monthly is not changing
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364587)
 * Hi,
 * Your form is working fine, but the interest applied to the months selection provoke
   very small changes in the results, and you are using the operation CEIL, so, 
   all results will rounded to the higher integer.
 * For example:
 * If you select the Mobile/Table in the “Types of Good”, enter 5010 for the “Price
   of Good”, enter 100 in the “Down Payment”, and finally selects 9 months.
 * The interest would be 1.6721, and the equation’s result: 417.5000584036477
 * If you selects 12 months the interes would be 1.5248, and the equation’s result:
   417,50000315386757
 * In both cases the result of the CEIL operation would be: 418.
 * Best regards.
 *  Thread Starter [UserDG](https://wordpress.org/support/users/tenkepadu/)
 * (@tenkepadu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364708)
 * I see. What should I use? Should I combine CEIL and PREC?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364718)
 * Hi,
 * Yes, of course, but what result do you want to get?
 * Best regards.
 *  Thread Starter [UserDG](https://wordpress.org/support/users/tenkepadu/)
 * (@tenkepadu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364721)
 * I want to get what the result will produce of my equation with CEIL
 * CEIL((fieldname1-fieldname2/(1-(1/(1+interest/12)*EXP(fieldname22)))/interest/
   12)/12);
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364727)
 * Hi,
 * You should set the PREC operation as the last operation in the equation, or the
   result will be an integer number.
 * Best regards.
 *  Thread Starter [UserDG](https://wordpress.org/support/users/tenkepadu/)
 * (@tenkepadu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364728)
 * Like this
 * CEIL(PREC(fieldname1-fieldname2/(1-(1/(1+interest/12)*EXP(fieldname22)))/interest/
   12))/12)?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364729)
 * Hi,
 * If the CEIL is the most external operation you will receive an integer number.
 * Best regards.
 *  Thread Starter [UserDG](https://wordpress.org/support/users/tenkepadu/)
 * (@tenkepadu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364730)
 * Hmm. What do you mean the PREC operation must a last operation in equation?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/#post-5364740)
 * Hi,
 * Something like this:
 * PREC(CEIL((fieldname1-fieldname2/(1-(1/(1+interest/12)*EXP(fieldname22)))/interest/
   12)/12),2);
 * Best regards.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/calculate-button/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/calculate-button/page/2/?output_format=md)

The topic ‘Calculate button’ 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/)

## Tags

 * [calculate button](https://wordpress.org/support/topic-tag/calculate-button/)

 * 17 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/calculate-button/page/2/#post-5364768)
 * Status: resolved