WordPress.org

Ready to get started?Download WordPress

Forums

Calculated Fields Form
[resolved] Call the Recalculate Method (2 posts)

  1. m7alpha
    Member
    Posted 1 year ago #

    Dear Sir,

    I have purchased Calculate Fields and I am very happy with it. However I am tweaking a bit the code and I need to call the Recalculate function through Jquery. Basically I am unchekcing certain fields through Jquery when the user clicks a particular option and I want the Total Cost to be recalculated. Can you please tell me the name of the function that I need to call? Thankyou

    http://wordpress.org/extend/plugins/calculated-fields-form/

  2. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    To evaluate the equations at will, you should call the function:

    CalcField.defaultCalc("#cp_calculatedfieldsf_pform");

    That's all.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic