How can I calculate how many night stays from the check in date to the check out date?

  • Profile Image
    Kountrygirl24
    Asked on June 13, 2019 at 01:47 AM

    I need to calculate the total night stay when they input the check in date and the check out date. Please advise how I can do this. 

  • Profile Image
    ashwin_d
    Answered on June 13, 2019 at 02:47 AM

    You can add "Form Calculation" widget or "UPDATE / CALCULATE Field" condition in form to calculate the number of days between two different dates.

    Please take a look at the following demo form where I have added condition to calculate the number of days: https://form.jotform.com/91631339684969

    Feel free to clone this form for a closer look. The following guide should help you in form cloning: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps.

    Do get back to us if you need any other changes.