- CVPRAAsked on January 31, 2016 at 09:33 PM
Hi, I've created a form for people to make reservations and I need to be able to count how many days they reserved and multiple it by $40.00/per day so they can pay the balance due via Paypal. Is it possible to do this?
- CharlieAnswered on February 01, 2016 at 03:19 AM
I've checked the Date Reservation widget, made some tests and possible workarounds, but unfortunately, it seems like it is not possible to count the number of days and use that value on conditions and calculations outside of the form.
What might be a possible workaround is to have a text box input asking your users how many days he/she has reserved. Then you can use a form calculation widget to calculate the cost. Here's a guide about it: http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form
From there, you can pass that value or sum it up with other sub totals and pass the final pricing to your payment integration by following this guide: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field
Here's a test form: https://form.jotform.com/60311275312947
Let us know if that will work.