ShowField

Marks the specified field as visible, if it is not already marked as such. It updates the field and the label appropriately.

Note: This method does not apply to hidden fields (fields that belong in the Hidden section of a form).

Parameters

Name Type Description
fieldName String The name of the field.
bShowFieldOnly (optional) Boolean Show the field only. The label remains hidden. The default value is false.

Return Value

Result Value
(none)  

Examples

This example marks the Unit Price field and its label as visible:

ShowField("Unit Price");

This example marks the Unit Price field as visible; however, the field's label remains hidden.

ShowField("Unit Price", true);

Comments

(none)