How to get number of row added in configuration list to be used in calculation and pass it to payment widget?

  • Mel Laytner
    Asked on May 20, 2024 at 5:56 AM

    Can we add up all the lines, then use that number to calculate payments due?

    Example: I add 3 guests. I would like to multiply '3' with $50 (cost of event) = $150.

    Then use that figure to populate payment widget (user defined amount)?

  • Ravi JotForm Support
    Replied on May 20, 2024 at 6:42 AM

    Hello Mel Laytner,

    Thanks for reaching out to Jotform Support. It is possible to pass the calculation value to the payment field. We do have a guide on How to Pass a Calculation to a Payment Field that you can check out.

    But currently, it is not possible to get the number of rows added and filled by the user in a configurable list. So it is not possible to use that in a calculation. We need to add a number field in the form in which the user will enter the guest number. Based on that, we can calculate the payment value and can pass it to the payment field.

    I've created a demo form for you. Here is the link to the demo form. This is how it works : 

    How to get number of row added in configuration list to be used in calculation and pass it to payment widget? Image 1 Screenshot 20

    If needed, you can clone my form to check the elements used in the form and setting of those elements. We also have a guide on How to Clone an Existing Form From a URL that you can check out.

    As the feature you're looking for isn't available at Jotform right now. We've gone ahead and escalated your request to our developers, but when or if it's developed depends on their workload, how viable it is, and how many other users also request it. If there are any updates, we’ll follow up on this thread and let you know.

    Thanks for your patience and understanding, we appreciate it.