SBM JavaScript Library Guide → Reference → Field Methods → EnableField
Marks the specified field as enabled (that is, not disabled), if it is not already marked as such. It updates the field only, not the label.
| Name | Type | Description |
|---|---|---|
| fieldName | String | The name of the field. |
| bShowIfHidden (optional) | Boolean | Show the field and the label if they are currently hidden. The default value is true. |
| Result | Value |
|---|---|
| (none) |
This example marks the Unit Price field as enabled:
EnableField("Unit Price");
(none)
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.