How to hide a field using conditional expressions

This entry is part of the Conditional Expressions HowTo.

In this little tutorial, I will show how to dynamically hide the Total Cost field in the PR Lines tab of the Purchase Requisitions (PR) application for the PRs that are in status APPR. This is just an example and the same configuration can be used to hide or show any field based on a particular condition.

Define conditional expression

Open Administration - Conditional Expression Manager application. Create the following conditional expression.


Configure PR application

Open System configuration - Platform Configuration - Applications Designer application and edit the PR application. Select the Total Cost field in the upper right corner of the PR Lines tab and open the properties window. Click on Configure Conditional Properties button (on TPAE 7.5 it is in the Advanced tab) and configure it as follows.


Here is how the Conditional Properties properties should look like.


Save the PR application and open the Purchase Requisition application.
Now for all the PRs in APPR status the Total Cost field in the PR Lines tab will be hidden.

Labels: , ,