FormDataObject.visible Method

Sets or returns a value that indicates whether the control is visible.

Syntax

public boolean visible([boolean value])

Run On

Client

Parameters

  • value
    Type: boolean
    The value that is assigned to the visibility setting for the control.

Return Value

Type: boolean
true if the control is visible; otherwise, false. The default is true.

Remarks

Controls that refer to a data source field are visible only when the visible property is set to true on both the control and the underlying data source field.

If you set the property on the data source field instead of on the control, you guarantee that the field is handled consistently throughout the form. This makes upgrades easier.

See Also

FormDataObject Class

Form Control Properties