How can I do conditional statements for products?

  • Pccec
    Asked on March 11, 2016 at 11:44 PM

    I created a field with Stripe and I want to sell multiple products. I know about the Conditional Statement widget, but this only applies to fields and not products within the fields. I want to make is so that when a condition is met in another field, the product in one field is unavailable or available.

    For Example: If someone puts in "Age:19",

    The Stripe field would ONLY show the product "Adult Registration Form"

    But if someone puts in "Age:17"

    The Stripe field would ONLY show the product "Minor Registration Form"

     

    Thank you for your time,

    Samm

  • Mike_G JotForm Support
    Replied on March 12, 2016 at 7:44 AM

    I would like to apologize. After further testing if it is possible, I found out that, unfortunately, hiding some of the product options in a payment field base on an input from another field in the form is not possible. I also tried creating each of the product options as a field with its own calculation values outside the payment field, then just pass its value to the payment field after. Unfortunately, that didn't help as well as it is creating conflict with the conditions of clearing or emptying the selected radio button(product) if another product is selected.