Hello
I have a time sheet solution that works well, but it has a fatal flaw. The start of the week has to be a Saturday.
Normally this is fine. The date picker defaults to the past Saturday with this code, so when the user is creating this week's timesheet that is fine
DateAdd(
Today(),
1 - Weekday(
Today(),
StartOfWeek.Saturday
)
)
The problem occurs if they need to complete the previous week's timesheet too. They are instructed to pick Saturday, but nothing actually stops them from picking anything else.
I don't expect to be able to restrict the actual date picker, but I do think having a condition in the "Continue" button that checks the date picker and only allows navigation to the next page if the user has picked a Saturday, otherwise prompts the user to make the correct choice is possible
Can someone help me with the If statement
Thank you very much
Conn