Product List: How to conditionally populate a specific product's quantity using an answer from previous field?

  • sroberts48
    Asked on April 25, 2024 at 7:11 PM
  • Sonnyfer JotForm Support
    Replied on April 25, 2024 at 10:13 PM

    Hi Sarah,

    Thanks for reaching out to JotForm Support. I'm sorry you're having trouble with your conditions. Unfortunately, it's not possible to conditionally copy a field value to a specific product's quantity. You may consider using a Form Calculation widget and use User Defined amount in PayPal to automatically capture the amount based on the number of attendees entered. Let me show you how to do that:

    • Add a Form Calculation Widget to your form and set the calculation to Number of attendees * 2. You can opt to hide this so the users won't see two prices. One in the widget in another in PayPal field.Product List: How to conditionally populate a specific products quantity using an answer from previous field? Image 1 Screenshot 40
    • Change the PayPal's Payment Type to User defined amount and select the Calculation widget in the Get Price From field.Product List: How to conditionally populate a specific products quantity using an answer from previous field? Image 2 Screenshot 51

    That's it. Here's what it should look like afterward:

    Product List: How to conditionally populate a specific products quantity using an answer from previous field? Image 3 Screenshot 62

    Here's also a cloned version of your form that you can test.

    Keep us updated and let us know if you need any more help.


 
Your Answer