SBM JavaScript Library Guide → Reference → Field Methods → IsFieldEmpty
This method returns true or false, depending on whether the field contains any data.
Name | Type | Description |
---|---|---|
fieldName | String | The name of the field. |
Result | Value |
---|---|
true | Returns true if the field does not contain any data. |
false | Returns false if the field contains data. |
This example returns true if the Description field does not contain any text, or false if it does.
IsFieldEmpty("Description");
(none)
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.