Removes a field from the search panel.
Syntax
field.remove();
Arguments
No arguments.
Return value
No return value.
Example
Remove the search field from the search panel using the JavaScript OnLoad event:
var srch = pageObj.getSearchController();
var field = srch.getSearchFields()[0];
field.remove();
See also:
•JavaScript API: SearchController object (deprecated)
•JavaScript API: SearchField object