Two Date-Pickers - The Second needs to reference the First


#1

Hello,
Perhaps you can help, please?
We need to deploy 2 date-pickers.
The first is a departure date, which must occur ‘today’ or in the future.
We think we have that solved.

The second date-picker is a return date, which must occur on or after the departure date.
This means that the second date picker needs to reference the first date picker.

Any ideas as to whether this is possible, please?

Kindest regards


#2

Hey @Aardvark! Welcome!

I think you should be able to achieve this with some jQuery, I’m going to wait for some of our technical experts chime in here.

In the meantime, if you scroll towards the bottom of this documentation, it gives you a bit of a rundown on implementing date pickers into your landing page. If you hadn’t had a chance to check that out yet, there might be some helpful info in there for you.

Hope that helps for now! :relaxed:


#3

Thanks Jess,

That’s really kind of you.
Any help that any of the experts can offer will be really appreciated.
Big problem for us is to get the second date-picker to reference the first date-picker so that our ‘return’ date cannot be before the ‘departure’ date…

Yours,

Aardvark