How can we make date of birth field editable for Pending workers but remain read only for Employees?
We want pending workers to add their own date of birth during onboarding but for this field to remain read only for employees.
Previously we have tried adding an el expression to the field using page composer to make it read only for certain roles. However this impacted the DOB field for employees when adding their contacts as the screen is shared. i.e. employees were not able to add/edit their contacts DOBs.
Does anyone have a solution for this?
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):