SBM JavaScript Library Guide → Internal Functions → GetFieldWidgetByName
Gets the wrapper element for the specified complex field type (such as Single Selection, Multi-Selection, Single Relational, and Multi-Relational fields) or form widget (such as the PDF widget and REST Grid widget).
Name | Type | Description |
---|---|---|
objName | String | The name of the complex field or form widget control. |
Result | Value |
---|---|
Success | The wrapper element for the complex field type or widget. |
Failure | Null |
This example returns the wrapper element for the "Testers" Multi-Selection field:
GetFieldWidgetByName("Testers");
(none)
Copyright © 2007–2016 Serena Software, Inc. All rights reserved.