Title: PMT Function
Last modified: August 31, 2016

---

# PMT Function

 *  Resolved [Scott Wynn](https://wordpress.org/support/users/scottwynn/)
 * (@scottwynn)
 * [10 years ago](https://wordpress.org/support/topic/pmt-function/)
 * How do I use the PMT function?
 * For example I would like to calculate a payment based on:
    fieldname1 = Loan 
   Amount fieldname2 = Rate fieldname 3 = term (in months)
 * I would think it would be:
    `PMT(fieldname2/12,fieldname3,fieldname1)`
 * Do I just enter that in the “Set Equation” field or do I have to use:
 *     ```
       (function(){
       return PMT(fieldname2/12,fieldname3,fieldname1);
       })()
       ```
   
 * Neither of these seem to work.
 * [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)
 * [10 years ago](https://wordpress.org/support/topic/pmt-function/#post-7425048)
 * Hi,
 * The equation’s format is correct, however, the PMT operation is included in the
   Financial module, available only in the Developer and Platinum versions of the
   plugin. Are you using the correct version of the plugin? Could you send me the
   URL to your webpage to check the structure of your form and the fields’ values,
   please?
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘PMT Function’ 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

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

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/pmt-function/#post-7425048)
 * Status: resolved