Validation on EFF Date Field in Additional Person Information Page
Summary:
I have created an Extensible Flexfield (EFF) called Date Worked on the Additional Person Information page.
We have the following requirement:
- Employees should be able to select a Date Worked only if it falls within the last 7 days from the current date.
- Future dates should not be allowed.
- The selected date should be a weekend date only (Saturday/Sunday).
- If the selected date is not within the last 7 days or is not a weekend, the employee should receive a validation error.
- This validation should apply only to employees.
- HR Administrators should be excluded from this validation and should be able to enter any date as part of their administrative activities.
0