Hello,
I just customized the template leave request. But I cannot handle the issue that leave requests should be done also for past dates. The code of the template only allows entries from "Today" and onwards. Do you know, how I can chnage this? I treied a lot, but it did not work...
Thank you in advance.
Solved! Go to Solution.
On the DisplayMode property of the 'Submit Request' button, you would need to remove the highlighted part of the formula to remove the check for the start date being < today. This will allow you to save the record.
The other cosmetic changes you'll need to make are to modify BorderColor property of the LeaveStartDatePicker control (so that it doesn't show red when the selected date is < today), and the modify the text property of the red label that displays the error text.
On the DisplayMode property of the 'Submit Request' button, you would need to remove the highlighted part of the formula to remove the check for the start date being < today. This will allow you to save the record.
The other cosmetic changes you'll need to make are to modify BorderColor property of the LeaveStartDatePicker control (so that it doesn't show red when the selected date is < today), and the modify the text property of the red label that displays the error text.