Support » Plugin: Calculated Fields Form » Call the Recalculate Method

  • Resolved m7alpha

    (@m7alpha)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

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

    CalcField.defaultCalc(“#cp_calculatedfieldsf_pform”);

    That’s all.

Viewing 1 replies (of 1 total)
  • The topic ‘Call the Recalculate Method’ is closed to new replies.