How to create total number of nights

  • aiboers7
    Asked on April 11, 2017 at 7:25 PM

    I would like to add a field in which will show the total number of nights based on the previous two fields: One arrival, the other is departure. Please advise.

  • Elton Support Team Lead
    Replied on April 11, 2017 at 11:31 PM

    That can be achieved using date fields and calculation.

    However, this widget is created to perform such function.

    https://widgets.jotform.com/widget/dates_difference

    Here's how:

    1. Add the Dates Difference widget in your form

    2. Add a Form Calculation widget

    3. In the calculation widget, add the date difference field to get the calculated days

    How to create total number of nights Image 1 Screenshot 20

    Demo: https://form.jotformpro.com/71008489422961