Deprecated
SearchController object methods are deprecated, we recommend using Search API instead.
Deletes all entries of specified field from the search panel.
Syntax
srch.deleteField(fieldName);
Arguments
fieldName
the name of the field. Example: 'Make'.
Return value
No return value.
Example
Removes the Make field from the search panel using the JavaScript OnLoad event:
var srch = pageObj.getSearchController();
srch.deleteField('Make');
See also:
•JavaScript API: SearchField object
•JavaScript API: SearchController object (deprecated)