What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How can I do conditional statements for products?Asked by Pccec 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,
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.