I have two date pickers
The first for the outward journey, and the second for the return journey
The first has today’s date as its minimum date and the second has the date chosen in the first as its minimum date.
So far everything is ok
However, I also have two drop-down selects that list the time HH: mm values entered in the database
The first select with the values (text) relating to the outward journey
The second selevt with the values (text) related to the return
What I would like to do is:
1- limit the time list by disabling those that have already been exceeded by the current time
2- limit the time list by disabling those prior to or equal to the last time in the first select
I hope I have explained well
It is possible to realize these limitations, taking into account that even if the times have been entered in Time HH: mm format, in the select they are text values