Is it possible to have calculating fields across 2 forms?

  • Profile Image
    Zack Homer
    Asked on April 13, 2013 at 10:18 PM


    Below is the scenario I am hoping to execute.  I am hoping you can let me know of feasibility of this task....

    I would like to have one form where a person a person inputs a number.  The person will then select a button that says "Submit". This submit button will take them to a new form.  Simple enough.  However, I would like this new form to include calculated fields from the previous inputted numbers.  

    For instance, let's say a person inputs the number '20'.  After clicking submit, in this scenario I would like them to see on the next form the number "4", which would result from the calculation '20 times 0.20'.

    Is this type of calculation across multiple forms possible with JotForm?

    Thank you,


  • Profile Image
    Answered on April 14, 2013 at 03:15 AM

    Hi Zack,

    That's possible with JotForm but calculations can't be done fields by fields. We do not have that in the form builder but this is pretty easy using your form source code and use custom scripts that calculates the field values. Here's How to get your Form Source Code

    In order to achieve this,

    1. Create a form with the fields for calculation and a total field where the total of the calculated values will be displayed. The total field will be also used for the prepopulation when the 1st form redirects to the second form.

    2. To redirect the 1st form to the 2nd form with the total result being prepopulated to a field from the 2nd form, simply use Custom URL as your thank you page.

    My Custom Thank you URL is:{total} - is the URL of the second form.

    totalValue - this is the field name from the second form where the value from the first form will be prepopulated to. To get field names, check this visual guide:

    {total} - this is the field tag from the first form, this will be replaced with the real value taken from the total field of the first form.

    Demo for prepopulating of field to another form:

    If you need any further assistance, make sure to contact us here. Thank you!