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.
Create item purchase dependencyAsked by marklivings on March 08, 2017 at 08:47 AM
Couple questions on purchasing items:
- I need to set a dependency on when people are purchasing items. For example, if I'm selling items A,B,C, and D people can only purchase A or B but not both. Secondly, if they are purchasing item C or D then they need to have purchased item A or B. I cannot figure out how to do this.- How do I get the total for the items selected placed in another hidden field ?
This not possible to achieve inside of payment field.
You will have to create this using basic fields. You will have to split your items in two fields. For items A and B you can use Single Choice (Radio button) field. For items C and D you can use Single Choice field if you want that only one of those items can be selected. If you want that both items can be selected then you can use Multiple Choice (Check box) field.
Then you will have to set conditional logic to show field with items C and D only when other field is filled.
Here is my demo form: https://form.jotform.com/70663786323967
Feel free to clone it.
If you also want to perform a calculation please check this guide:
To pass a calculation to a payment field, please check this guide:
I have moved your other question to separate thread and we will provide you an answer there shortly.