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.

  • Profile Image

    Calculate Total Due based on Date Reservation Widget

    Asked by CVPRA 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?



    Page URL:

  • Profile Image
    JotForm Support

    Answered by Charlie 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.