NextGen Knowledge Center

ISVISIBLE Function

Use:Indicates whether a field is visible or hidden on a template.

The result can be used in the condition for a Show Item trigger, Hide Item trigger or Refresh Data Grid trigger.

This function is not supported for a collapsible panel, order control, or sub template.

Syntax:
{ISVISIBLE( «field» )} 
Arguments:

«field»
    Field name
Returns:1 = Visible

0 = Hidden

Example:

Data Sheet field = encounter_sheet_001
Button field = assign_function_value
Numeric data entry field = isvisible_indicator
On the assign_function_value button field, set up a Button Click event/Assign Field Value trigger with the following value calculation: 
template_name_.isvisible_indicator = {ISVISIBLE( encounter_sheet_001 )}

Result: The encounter sheet field is visible on the template, so 1 displays in the isvisible_indicator field.