Removes an option from the list of search options in the search panel (CONTAINS, EQUALS, etc.).
Syntax
field.removeOption(option);
Arguments
option
one of the available search options with the ASPRunnerPro.search.options prefix. Example: ASPRunnerPro.search.options.MORE_THAN, ASPRunnerPro.search.options.NOT_EMPTY.
Return value
No return value.
Example
Remove the EQUALS option from the list of search options using the JavaScript OnLoad event:
var srch = pageObj.getSearchController();
var field = srch.getSearchFields()[0];
field.removeOption(Runner.search.options.EQUALS);
See also:
•JavaScript API: SearchController object (deprecated)
•JavaScript API: SearchField object