Perform calculations in form

  • Hispaniola
    Asked on January 19, 2019 at 6:42 PM

    We are actually working on a new form called Scooter Rental, in that form the total should be the amount of days * for the equipments selected, how can I set that up?


    Thank you

  • Mike
    Replied on January 19, 2019 at 8:56 PM

    The amount of days can be calculated with a Form Calculation widget field:

    Perform calculations in form Image 1 Screenshot 30

    However, we cannot pass it to the PayPal payment field.

    As a workaround, you may rename the product quantity to the number of days.

    Perform calculations in form Image 2 Screenshot 41

    The form user will need to manually select the number of days (quantity) in the payment field.

    Alternatively, you can use the regular fields to calculate the total amount:

    - How to Perform Form Calculation Using a Widget

    - How to Assign Calculation Value

    Then, pass the calculated total amount to the payment field.

    - How to Pass a Calculation to a Payment Field