Can I have two date field on form to comunicate?

  • Royalcars
    Asked on March 12, 2017 at 8:46 AM

    Hi,

    I want to add two date time field on a form to book a return journey. I want to restrict user to enter the return date after the first pickup date? If user select 15 march for the 1st pickup, second date field won't him chose the any date less than 15 march. please help.

    Thanks Adnan

  • Charlie
    Replied on March 12, 2017 at 11:19 AM

    You can try adding the Check In Check Out widget, here's a link to it: https://widgets.jotform.com/widget/check_in_check_out. To add a widget, you can follow this guide: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form.

    Let us know if that works. 

  • Royalcars
    Replied on March 17, 2017 at 11:31 PM

    Hi, I need to use this in a limo booking form. when its one way booking i simple hide the return date and time. but when its return booking then selection should only be possible after the 1st trip. 

  • Nik_C
    Replied on March 18, 2017 at 9:43 AM

    I must agree with my colleague that a best solution for what you need is to use Check in Check out Widget since you need to restrict your users to choose the return date. What I would like to add is that you could use a combination of regular date field and this widget. What I mean is for one way trip you use regular date field so your customers can choose the date and time and for round trip you can use the Check in Check out widget so they can choose both dates.

    For example:

    Can I have two date field on form to comunicate? Image 1 Screenshot 30

    And conditions like this:

    Can I have two date field on form to comunicate? Image 2 Screenshot 41

    Could that work for you?

    Please let us know.

    Thank you!