SBM JavaScript Library Guide → Reference → Field Methods → ShowField
Marks the specified field as visible, 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. |
bShowFieldOnly (optional) | Boolean | Show the field only. The label remains hidden. The default value is false. |
Result | Value |
---|---|
(none) |
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);
(none)
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.