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

    How to calculate number of days between arrival date and departure date

    Asked by kaksparks on June 15, 2015 at 01:21 PM

    Hi there,

    I am trying to create the from from your template, have some enquiry. 

    As i create the for enquiry for holiday rental site, i have like the arrival date, departure date where i saw i can add the calendar to it. After that i have the box of total range/night of stay which is with my own form, with this box client just click the box, and the system will automatic calculate the night number from the in put of arrival & departure date.

    Is that possible in your system too?


    Looking forward to hear from you soon.



    Page URL:

  • Profile Image
    JotForm Support

    Answered by BJoanna on June 15, 2015 at 01:59 PM

    You can achieve that with using of our Form Calculation widget.

    First you need to add 2 date fields to your form. 

    Then add Form Calculation widget and configure it to calculate the number between two dates. 

    Here is a demo form I made: http://form.jotformpro.com/form/51655653005957? 

    Feel free to clone it for closer look.

    More about how to perform form calculation you can find in this article:


    Hope this will help. Let us know if you need further assistance.