I have a calendar and time element on my form for appointments. I have figured out how to limit the times to just the ones we allow and found the code to limit which days of the week are available to choose from but now I need to be able to limit the number of registrations per time and date. How can I modify the calendar and time to only allow 1 or more persons to use this date and then after that is chosen, those dates and times are no longer available?