How to have calculations for matrix fields to show total?

  • Profile Image
    jamieroshni
    Asked on April 15, 2014 at 08:03 AM

    Hi,

    How would I have an autocalculation on this form?

    At the bottom.

  • Profile Image
    ashwin_d
    Answered on April 15, 2014 at 09:32 AM

    Hello jamieroshni,

    It is currently not possible to add the values of Matrix fields in the "Form Calculation" widget. To achieve your requirement, you will have to download your form's source code and add custom JavaScript to perform the mathematical operations.

    Please be noted that if you embed your form with its source code, any changes you make in your form will not be reflected in your web page. You will have to download your form's source code again and add the custom JavaScript. Also, you will have to host the source code of your form in your own web server as it is not possible to import the custom JavaScript code back to JotForm builder.

    Do get back to us if you want to take the form's source code route and we will provide you with the custom JavaScript.

    We will wait for your response.

    Thank you!