Someone once said something like "... write a foolproof application and God will invent a better fool.
Whoever it was, he wasn't wrong.
I know I can (and will have to) write custom validation to do this, but it strikes me that it's something that should/could be built-in to the Scheduler, at the very least, as an option under the developer's control.
The better class of fool can:
- Create an all day appointment with hourly recurrence
- Create occurrences with no end date.
OK, 1 is a specific example of a general case where our fool can create a recurring appointment where the recurrence interval is less than the event duration.
2. Is, I know, by design. But our fool is apt to just accept the defaults and if he creates an hourly recurring appointment and does nothing else, well, you know the results, I'm sure.
What I'd like to see in the Scheduler are options to:
- hide selected recurrence intervals (hourly, daily, etc)
- within each recurrence interval, hide selected options (eg. daily - every weekday)
- hide selected "recurrence end criteria" (eg "No End Date")
- set defaults for selected "recurrence end criteria" (eg, After x occurrences; x = 5)
- select a "recurrence end criteria" as the default
- automatically validate cases where the recurrence interval <= appointment duration.
As I say, I'd love to see these in the control, but I imagine that I'm going to have to do the work to try and outwit my fool for sometime to come.
However, if any one out there has already met my fool and written something to try and head him off, I'd be really grateful if you'd be prepared to share your code.