Set relation between 2 datepickers
-
Hi,
I’ve installed Caldera Forms on my WordPress site and was looking whether it is possible to set up a relation between 2 datepickers.
I want to create a booking page with 2 datepickers: Arrival and Departure. In order to prevent the user selecting an invalid interval, I’d like to set:
The min date of the Departure datepicker automatically to the date of the Arrival datepicker, + 1 day.
This should happen on the close event of the Arrival datepicker.My question: is my required feature feasable? If yes, how?
I’ve seen, that data population can be achieved by writing a filter.
But I did not find any documentation how to hook that event. Is another plugin necessary?
Thank you in advance for any hints..
Regards,
Andreas
- The topic ‘Set relation between 2 datepickers’ is closed to new replies.