I am using the following code to initiate the calendar:
Currently, it is possible to select ANY date.
How can I change the code so that when a user selects a date in cal1 that the date in cal2 CANNOT be before the date in cal1? This is necessary for a arrival date/departure date form (date range).
Any help is appreciated.
you can use setSenstive method to control the sensitive range:
Thank you for your reply.
But where exactly do I place this code in my code? I have tried several ways, but none worked.
Could you please advise?
Here is our current code again: