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.
payment conditional calculation matrixAsked by nawruz on April 26, 2016 at 11:17 PM
I have a form where I'd like to calculate costs based on age and number of nights stay.
ie if you are 0-4, free for any number of nights
ie if you are 5-11, 100$ for four nights, 90$ for three nights, 80$ for two nights and 60$ for one night.
ie if you are 12-16, 150$ for four nights, etc
if you are 16+, 200$ for four nights, etc
The total cost would appear in a field and would then be linked to a Paypal total.
is this feasible?
I think this is feasible using conditions and calculation field. Here is a sample form that I have created where I implemented the logic you want: https://form.jotform.com/61171587989978?. You can clone the form to have a closer look on the setup. Basically the idea was to setup the condition for the logic and pass the calculated value to the Payment field: How to pass a calculation to a payment field.