Please enable JavaScript to view this site.

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

JavaScriptAPI: SearchController object > deleteField()

Scroll Prev Next More

 

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

About Search API

Events: JavaScript OnLoad

JavaScript API: SearchController object (deprecated)

JavaScript API

 

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