- nawruzAsked 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?
- JotForm SupportChriistianAnswered on April 27, 2016 at 02:37 AM
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.