How can we set one date field 1 day into the future from the other one?

  • manisohal
    Asked on April 21, 2016 at 4:27 PM

    I have a booking form and i want departure date =arrivalvdate+1 day. i dont want arrival and departure date to be same. Please help me with that.

  • Ben
    Replied on April 21, 2016 at 5:45 PM

    To do that, we need to use a bit of help from conditions.

    To show how to do this, I have created a quick demo form, which you can see here: https://form.jotform.com/61116428956965

    The first field will get set automatically to current day, but the second one will get updated through conditions:

    How can we set one date field 1 day into the future from the other one? Image 1 Screenshot 20

    Basically the condition is there to capture the value from the first date field and then just add 1 to it and pass it over to the other one.

    You can clone the form above to your account by following the steps here: How to Clone an Existing Form from a URL and please do let us know if you have any questions or issues setting up the same.