Hey guys,
I'm currently developing a meeting management system using Joomla and Seblod but I'm stuck at the event overlapping validation.
For example, if I got these meeting:
Meeting 1- Date: 2013-12-12
- Begin: 11:00 AM
- End: 12:00 PM
Meeting 2- Date: 2013-12-12
- Begin: 1:00 PM
- End: 2:00 PM
For the begin/end time, I got a dropdown list with all hours of a day. But, in the begin dropdown, I should disable unavailable hours, like 11 AM, 11:30, 1PM, 1:30.
Then, once the begin time is selected (example: 10:00 AM), I shouldn't be able to end it after 11 AM because there's an event already but it CAN finish at 11 AM.
So, I need a dropdown populated with available hours and another one depending on the first one.
If someone has a trick or a tip that can help me, I would appreciate it!