HideField

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

Parameters

Name Type Description
fieldName String The name of the field.
bHideFieldOnly (optional) Boolean Hide the field only. The label remains visible. The default value is false.

Return Value

Result Value
(none)  

Examples

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

HideField("Unit Price");

This example marks the Unit Price field as hidden, but the label remains visible:

HideField("Unit Price", true);

Comments

(none)