SBM JavaScript Library Guide → Reference → Field Methods → HideField
Marks the specified field as hidden, if it is not already marked as such. It updates the field and the label appropriately.
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. |
Result | Value |
---|---|
(none) |
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);
(none)
Copyright © 2007–2015 Serena Software, Inc. All rights reserved.