Figured one way to do this, sort of a long way around the barn...
The general idea is there are "Managers" who approve "Proposals." Once a user's proposal has been approved, File Upload fields are revealed.
Unfortunately, I had to create an auto assign role called "Proposals - Hide Mgr Fields," which assigns to everyone, automatically. So, if I have Proposal Managers role assigned, I have to be sure to unassign the Hide Mgr Fields role. They are essentially to be mutually exclusive. (This part really doesn't seem like a good idea, but it works.)
Then, an "Approval" checkbox that is hidden from "Hide Mgr Fields" role. So, everyone except the Proposal Mangers have this Approval field hidden.
There is a problem using this hidden Approval field to reveal the File Upload fields. When it is hidden (which is when we need it to function), it reveals the File Upload field if the checkbox is checked (Approved). However, when the user clicks on "Upload," the field disappears. Don't know if this is by design.
So, a workaround....Add another checkbox, "Upload Files." Create one event that reveals the "Upload Files" checkbox based on the Approval response. When the Approval checkbox has been checked by a manager, the Upload Files checkbox will appear for the user, even though the Approval checkbox is hidden from the user. Then, the user can check "Upload files" to get the upload fields to appear.
There must be a simpler way. But on first blush, this seems to work.
|