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

  • Profile Image
    manisohal
    Asked on April 21, 2016 at 04: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.

  • Profile Image
    Ben
    Answered on April 21, 2016 at 05: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:

    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.