Hi
How can I implement a feature to disable or hide specific time slots for the particular date.
once a user has made a selection, The goal is to prevent others from choosing the same time slot.
I've created 'hdate' and 'htime' attributes with string data types to store date and time values, respectively. There are four available time slots for a specific day. If all of these time slots are booked, the corresponding date should be disabled.
My approach is to retrieve the existing date and time values from the database, and then compare any new selections with them. If a match is found, the corresponding date and time should be disabled.
So does anyone have any implementation solution for that!
or any different approach on it !
FYI- Please refer to the attached UI for a better understanding.