Link to home
Start Free TrialLog in
Avatar of jforget1
jforget1

asked on

Limiting Visibility to SS#

Have a form which has a social security number. The field only appears when needed for certain request types. I now need to lock it down a little more. I need to add in code so it is visible on data entry and then for that author after saving. Also I need to have it visible to users with an ADMIN role.

The code for the hide on this field is setup currently to appear when the product choice is one of the 3 noted below. How can I tie it to the ADMIN role, while still allowing the Author to see as well.

!((products = "Add USSALES User") | (products = "DAI Change")  | (products = "Party Admin Access"))
ASKER CERTIFIED SOLUTION
Avatar of doninja
doninja
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jforget1
jforget1

ASKER

OK that logic makes sense, the one issue that I see here is how do I keep the field visible to the author of the record as well.
SOLUTION
Avatar of Sjef Bosman
Sjef Bosman
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As sjef states this is only hiding of data from display, but perfectly ok on web pages that don't have document properties access and most people would not know how to get full details, but for data protection reasons would not be adequate.

For author, I would put author's name into a field when document composed and then can always compare using @name
Thank you as always.