SBM JavaScript Library Guide → Reference → Field Methods → IsFieldChecked
This method should only be used on Binary fields with the "Check box" style. It returns true or false, depending on whether the check box for the given field is checked.
Name | Type | Description |
---|---|---|
fieldName | String | The name of the field. |
Result | Value |
---|---|
true | Returns true if the check box is selected. |
false | Returns false if the check box is cleared or if the field is not found. |
This example returns true if the check box for the Regression field is selected, or false if the check box is cleared.
IsFieldChecked("Regression");
(none)
Copyright © 2007–2016 Serena Software, Inc. All rights reserved.