How to show/hide a field based on Primary/Secondary Role of a user

This may not be valid. Needs investigation.

Often it is useful to show or hide a field for an end-user. The main way to make a user a Secondary (or end-user) is to flag their Role as a Secondary user. Often there is a “Submitter” role used for this purpose.

The Display Condition function to use is isPrimaryUser() or isSecondaryUser(). The above will make it so the field only shows for a Secondary user (end-user).