Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Search API > Methods

Search API: getFieldValue

Scroll Prev Next More

 

Returns the search control value.

Syntax

getFieldValue(field, null)

Arguments

field

the name of the field.

Return value

Returns the search control value.

Examples

This code should go to AfterTableInit or BeforeDisplay events of List or Print page. Get the search value of the Make field.

 

set srchObj = getSearchObject("Cars")
Reponse.Write srchObj.getFieldValue("Make", null)

See also:

Search API: getSearchObject

Search API: setFieldValue()

Example: Search Master and Details tables together

Example: Print search parameters on the List page

About Search API