Hi,
We allow users to see availability and book appointments online. However, there are some weeks (and towards the end of the week like Friday/Sat) where there is no availability left. Users see all grayed out timeslots and get confused.
So in these cases, we would like to take the users to the next week or better, the first week that has an available appointment. How can we do that?
- one implementation that comes to mind is to check for empty time slots in the date range and programmatically take the user to the week that has at least one empty time slot (timeslot that does not have an appointment). Can we do this? How?
The second question I have is around error messages. Right now, if the users cannot book an appointment due to some business reason, we handle it on the server side events. But there all we can do is e.cancel. How do we bubble up these error messages to the client side to show them to the user in their browser?