Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > JavaScript API > SearchField object > Methods

JavaScript API: SearchField object > getOptions()

Scroll Prev Next More


Returns the list of search options that are currently available in the search panel (CONTAINS, EQUALS, etc.).


var options = field.getOptions();


No arguments.

Return value

Returns the array of available search options. See the search options list to learn more.


Get the list of search options using the JavaScript OnLoad event:


var srch = pageObj.getSearchController();
var field = srch.getSearchFields()[0];
var options = field.getOptions();

See also:

JavaScript API: SearchController object (deprecated)

About Search API

Events: JavaScript OnLoad

JavaScript API: SearchField object

JavaScript API


Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software