Search Forms Component

The Search Forms component displays a search form's name or iterates all of the available search forms.

Function Names

Name Description
SearchForms Resolves the search form request and redirects to the resulting location.

URL Parameters

Name Possible Values Description
f SearchForms Function to execute
sfp Name path Path to a location in the Site Definition File (SDF) to use for finding search forms.
id ID ID of the search form name to retrieve. If you do not specify this parameter, then all search forms are iterated.

Replacement Variables

Name Description
SEARCHFORMS:SELECT Return all of the search forms in an HTML select construct. All search forms are wrapped in HTML of the following form:

<OPTION Value="{frame-type}:ID">TITLE</OPTION>

Where {frame-type} is replaced with the frame-type property for that search form (see the FRAME_TYPE value description below. For example, if the Site Definition File contains the following:

<query-template
content-type="text/html"
document="advsearch.htm"
frame-type="contents"
id="10.1048/AdvancedSearch"
name="AdvancedSearch"
title="AdvancedSearch"
/>


The corresponding SELECT tag will produce the following output:

<OPTION Value="contents:10%2E1048%2FAdvancedSearch">AdvancedSearch
SEARCHFORMS:ID Returns the content of the search form template whose ID is given by the ID parameter in the query string.
SEARCHFORMS:FRAME_TYPE Returns the frame-type property for the search form template whose ID is given by the ID parameter in the query string. The possible values for this property are:

contents — means the search form needs to be placed inside a page that has a contents frame.

no-contents — means the search form need to be placed inside a page that has no contents frame.

none — means the search form is itself a complete HTML page and doesn't need to be placed inside of anything.

Style Sheet Styles

The Search Forms component does not support styles.