On my form I have 7 checkboxes. Each representing on weekday.
cbMa, cbDi, cbWo, cbDo, cbVr, cbZa and cbZo. (mon-sun)
On the form the user can enter a date-from and a date-to.
If the date-range contains less then 7 days, than checkboxes representing the days of the week that are not within the date-range much be disabled.
Can anybody give me a quick way to accomplish this?