Restricting Value / Time Selection Based on User Input in Dropdowns

I have two dropdowns: A (“Time From”) and B (“Time To”), both containing the same default values, ranging from 00:00 to 23:30 in 30-minute intervals.

If a user selects 05:00 in dropdown A, dropdown B should only allow selecting values equal to or later than 05:00 (e.g., 03:30 should not be selectable).

Is it possible to implement this restriction?

Thanks!

I don’t have a ready solution for you but we have a really cool snippet that might serve as a helpful starting point:

You could take this and add a start_time_field_id parameter which could then check the value of and ensure that the times available the configured field is after that time. I’d bet ChatGPT could get you most of the way there but if you find you need some help, we do offer customizations like this for our Pro customers.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.