You can hide or show almost any Webform component in Workflow Designer. Almost every Webform component has a Visible property that controls whether a component is hidden or shown on a run-time Webform. All components are always shown during design-time.
The following screenshot shows the Visible property on a label component:
You can set the Visible property on a Webforms component in the component's editor. Double-click the component to open its editor. The Visible property appears under the Functionality tab.
In a Webform component's editor there is an ellipse next to the Visible property. If the property is set to False, the component will never be shown on the form. If the property is set to True, the component will always be shown on the form. Clicking the ellipse lets you set the property to either true or false. You have three options for setting the Visible property: Process Variable, Dynamic Model, and Constant Value.
Setting the Visible property with a process variable means you use a Logical (true/false) variable in your project to determine the value of the Visible property on the Webforms component. Use the process variable option when the visibility decision is too complex for a constant value but not complex enough for a dynamic model. For example, if you have a Logical (true/false) variable in your project called IsShown, you can set the Visible property on a Webforms component to use the value of IsShown to determine its own value. If IsShown was set to True in the process, the Visible property would be set to True. If IsShown was set to False, the Visible property would be set to False.
You can select only a Logical (true/false) variable. Variables of other types are not available for you to select.
The name of the process variable you selected appears for the value of the Visible property.
Setting the Visible property with a dynamic model means you use a model that you create to determine the value of the Visible property on the Webforms component. Use the dynamic model option when the visibility decision is too complex for a single process variable or constant value. For example, if you want to set visibility based on the value of a number of variables in your process you can create a dynamic model with some decision-making components (such as Decision Path or Decision Tree) to analyze the variables in question and return a true/false result. The dynamic model must have two end components: one set to True and one set to False.
Create a model that uses two End components: one set to True and one set to False.
To set an End component to true or false, do the following:
Setting the Visible property with a constant value means you set an unchanging value to determine the value of the Visible property on the Webforms component. Use the constant value option when the visibility should constantly be set to false. If it should constantly be set to true, you do not need to configure the visibility setting at all. The component is visible by default. But if you want to set the component not to show, set the constant value to false. For example, you might want to set a component's visibility to false if you do not want to currently use the component but you do not want to delete it.
The value you selected appears for the value of the Visible property.