Hi,
Anybody knows how to only allow workweek/workmonth format for calendar style views?
Thanks,
B.
Hi,
Anybody knows how to only allow workweek/workmonth format for calendar style views?
Thanks,
B.
Subject: Force workweek/workmonth format
I don’t think that you can, as a Calendar view is a special view and cannot be changed … however you can get the view to display only entries for mon - fri by using
SELECT @IsAvailable(CalendarDateTime) & @Weekday(StartDateTime) > 2
as the view selection criteria, and similarly put an input validation on the StartDate field in the ‘_wCalendar Entry | Appointment’ form along the lines of
@If(@Weekday(StartDate) > 2; @Failure(“You can only make entries for mon - fri”); @Success)
to force people to only use the calendar for weekdays.
HTH.