I have a form that will be passed around for approvals and at various stages comments previously added in are required to be read only. The initial plan was to disable the fields in question with a rule, but this turned out to be a problem. A sample of the requirements are:
- Initiator fills out 4 fields, those fields are now read only
- Workflow passes an approval task to a supervisor
- Supervisor can open the form, add comments, etc.
Using a rule to disable the initiator's fields is simple enough, but on editing the item to add comments, the contents of the first 4 fields were deleted. I've tried disabling the control itself, under the control settings > Appearance > Enabled with an expression, but for whatever reason the references here don't include Named Controls, so I can't read the values of the control that governs whether this should be disabled or not. Is this behavior of the rules a bug or is there a workaround for this? Or a way that the expression in the control can read the values? I'd like to try a non-javascript solution if it exists.