Get Total price from the form calculation widget.

  • arizzi12
    Asked on September 19, 2024 at 3:33 PM

    paypal business - "get price from" not seeing my "total" field

    payment type - user defined amount is selected.

    am i doing something wrong?

    thoughts?


    pls and ty!!

    Jotform Thread 19192081 Screenshot
  • Wilson JotForm Support
    Replied on September 19, 2024 at 4:17 PM

    Hi Anthony,

    Thanks for reaching out to Jotform Support. You need to change your Number field to the Form calculation widget for the Total price. Then change the Payment type of your payment field to get the total price from the calculation widget. Let me show you how:

    1. In the Form Builder, click the Add Form Element located on the left side.Get Total price from the form calculation widget Screenshot 50
    2. Go to the Widget tab,
    3. Search for the Form Calculation widget, and drag it to your form.Get Total price from the form calculation widget Screenshot 61
    4. Click the Wand icon on your Form Calculation widget.
    5. Click the Add Field and choose the Skate field.
    6. After that, click Save.Get Total price from the form calculation widget Screenshot 72
    7. Click the Wand icon on your PayPal Integration to open the payment settings.
    8. Under the Get Price From option, choose the Total Price(Form Calculation Widget).
    9. Then click Save and that's it.Get Total price from the form calculation widget Screenshot 83

    Give it a try and let us know how it goes.

  • arizzi12
    Replied on September 19, 2024 at 4:45 PM
    Can I do conditional totals within the calculation widget/field?
    The conditional area within settings allowed to do this for the numbered
    total column that I had.
    Thinking I didn’t do that because I couldn’t but perhaps I missed
    something.
    ...
  • Victorino_S JotForm Support
    Replied on September 19, 2024 at 5:07 PM

    Hi Anthony,

    Unfortunately, it is not possible to use conditional logic inside the Form Calculation widget. However, if you need to perform calculations, assign values, or insert text into a field conditionally, you can use the Update/Calculate Field conditional logic. This feature enables you to dynamically change form field values based on specific conditions. Let me show you how:

    1. Click Settings at the top of Form Builder.
    2. Go to the Conditions tab on the left.
    3. Add a new Update/Calculate Field conditional logic.
      Get Total price from the form calculation widget Screenshot 40
    4. Set the Do section to Calculate Field Value option.
      Get Total price from the form calculation widget Screenshot 51
    5. A new section will appear where you can edit and build your formula.
      Get Total price from the form calculation widget Screenshot 62


    Here's a demo form that utilizes the Update/Calculate Field conditional logic that you try out. If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better? 

    Give it a try, and let us know how it goes. 

  • Jordan_Anast
    Replied on September 19, 2024 at 5:08 PM

    Resolved thanks

Your Answer