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–2016 Serena Software, Inc. All rights reserved.