Returns the second control object of the search field (for the BETWEEN option).
Syntax
var ctrl = field.getSecondControl();
Arguments
No arguments.
Return value
Returns the second control object of the search field.
Example
Get the second control of the search field in the search panel using the JavaScript OnLoad event:
var srch = pageObj.getSearchController();
var field = srch.getSearchFields()[0];
var ctrl = field.getSecondControl();
See also:
•JavaScript API: SearchController object (deprecated)
•JavaScript API: SearchField object