Navigation:  Enterprise Forms Modules > Form Template Manager > Form Template Details > Form Template Designer > Common Tabs >

Conditional Visibility Tab

Previous pageReturn to chapter overviewNext page

Similar to Conditional Databind, Conditional Visibility is the ability to hide or show a form field based on a value of another field.  A typical application for this feature is when implementing a quiz type form whereby the visibility of one question may rely on the answer of a previous question.

 

Conditional Visibility Tab

 

ConditionalVisibilityTab

Property Name

Description

VisibilityType

Indicates the type of visibility for the field to apply when the conditional expression is evaluated to true.  There are to visibility types

Visible If:  The current field element is Visible if the value of the specified VisiblityField element matches the expression provided from VisibilityFieldOperator and VisibilityFieldValue properties

Hide If: The current field element is Hidden if the value of the specified VisibilityField element matches the expression provided from the VisibilityFieldOperator and VisibilityFieldValue properties

Enable If:  The current field element is Enabled if the value of the specified VisiblityField element matches the expression provided from VisibilityFieldOperator and VisibilityFieldValue properties

Disable If: The current field element is Disabled if the value of the specified VisibilityField element matches the expression provided from the VisibilityFieldOperator and VisibilityFieldValue properties

VisibilityField

Property list all the form field elements available to be used in the evaluation expression.  The value of the selected field element is compared to the VisibilityFieldValue using the VisibilityFieldOperator. If the expression is evaluated to true, the VisibilityType is applied to the current field element

VisibilityOperator

Indicates which comparison operator to use for evaluation

 

Any Value:  Always return TRUE for any value provided in the Conditional Field

Equals:  Returns TRUE if the provided Conditional Field value match exactly to the value specified in the evaluation expression.  This matching operator is case sensitive.

Not Equals:  Returns TRUE if the provided Conditional Field value do not match exactly to the value specified in the evaluation expression.  This matching operator is case sensitive

Less Than:  Returns TRUE if the provided Conditional Field value is less than the value specified in the evaluation expression.  This comparison operator applies to Date and Numeric value types

Less Than or Equals: Returns TRUE if the provided Conditional Field value is less than or equals to the value specified in the evaluation expression.  This comparison operator applies to Date and Numeric value types

Greater Than:  Returns TRUE if the provided Conditional Field value is greater than the value specified in the evaluation expression.  This comparison operator applies to Date and Numeric value types

Greater Than or Equals:  Returns TRUE if the provided Conditional Field value is greater than or equals to the value specified in the evaluation expression.  This comparison operator applies to Date and Numeric value types

Contains:  Returns TRUE if the provided Conditional Field value contains the value specified in the evaluation expression.   This comparison operator is NOT case sensitive

Empty or Equals:  Returns TRUE if the provided Conditional Field value is empty or blank or the provided Conditional Field value matches exactly the value specified in the evaluation expression.  This comparison operator is case sensitive

Empty or Not Equals: Returns TRUE if the provided Conditional Field value is empty or blank or the provided Conditional Field value do not match exactly the value specified in the evaluation expression.  This comparison operator is case sensitive

In List: Returns TRUE if the Conditional Field value exists in the list of values (separated by coma or semi-colon)  provided in the FieldCompareValue field

Not In List: Returns TRUE if the Conditional Field value does not exists in the list of values (separated by coma or semi-colon) provided in the FieldCompareValue field

State In List: Returns TRUE if the Current Workflow state  exists in the list of values (separated by coma or semi-colon) provided in the FieldCompareValue field.  The list can contain case-sensitive State Name or State ID

State Not In List: Returns TRUE if the Current Workflow state does not exists in the list of values (separated by coma or semi-colon) in the provided FieldCompareValue field.  The list can contain case-sensitive State Name or State ID

DNN Role In List: Returns TRUE if one of the DNN Roles of the current User exists in the list of values (separated by coma or semi-colon) provided in the FieldCompareValue field.  The list can contain case-sensitive DNN Role Name or Role ID

DNN Role Not In List: Returns TRUE if none of the DNN Roles of the current User exists in the list of values (separated by coma or semi-colon) provided in the FieldCompareValue field.  The list can contain case-sensitive DNN Role Name or Role ID

Custom Role In List: Returns TRUE if one of the Custom Roles of the current User exists in the list of values (separated by coma or semi-colon) provided in the FieldCompareValue field.  The list can contain case-sensitive Custom Role Name or Role ID

Custom Role Not In List: Returns TRUE if none of the  Custom Roles of the current User exists in the list of values (separated by coma or semi-colon) provided in the FieldCompareValue field.  The list can contain case-sensitive Custom Role Name or Role ID

VisibilityFieldValue

Value or list of values to be used in the evaluation expression

VisibilityPostback

Indicates if the system should post back data back to the server when there is a change of value to the VisibilityField element

VisibilityGroupName

Optional list of FieldGroupName or FieldID (separated by coma or semi-colon) to also apply Conditional Visibility when evaluation expression returns TRUE