Home → Using LincDoc 3.1+ → DANG Rule Wizard → Using the Condition to display Option
The Condition to display option, located in the Field attributes area, is used to dynamically display or hide a field or section based on a value or condition of another field.
This option evaluates to true or false, depending on the condition. If the result is true, then the field is displayed but if the result if false, then the field is not displayed.
For example: Let's say you would to display fields based on the type of leave an employee is requesting. If the leave type is Personal, only display the personal fields. If the leave type is Professional, then only display the professional fields.
Thus, when a user selects "Personal" from the leave_type drop down list in the data entry process, the section that contain the fields for personal leave will be displayed. If the user selects "Professional" then the section containing the fields for professional leave will be displayed. This streamlines data entry to the point where only the necessary fields are presented to the user for a cleaner and clearer data input.