conditions are required. The confusion arises when we try and wrap our brains
around the idea that if the condition is true then the element will not appear.
A simple technique I use is to the @IF statement to structure my conditions.
Think of the conditions to see the document and translate into an If statement.
Then all you have to do is assign @False ( to show the element) or @True to
ensure it is hidden.
Below are a couple of examples
Only show an "Approve" action button when the document has been submitted and
the status field = "Submitted" and the user has the "[Approver]" role. Also
permit the administrator to be able to approve the document as well
The typical interpretation would be
@IsNewDoc | (Status != "Approved" &
The @If interpretation is....
@if(Status = "Approve" &