Available Since: V1.0.0
Display and process the search form.
Parameter | Description |
---|---|
resultsPage | The ID of the document used to show the search results. |
labelAs | `placeholder` to use a HTML5 placeholder rather than a label, defaults to `label`. |
label | The optional label for the search box, defaults to Search For. |
adv | 1 for advanced search box allowing greater control including full selection of fields to search or a comma separated list of fields to search, defaults to 0. |
type | The input field type `search` or `text`, default is `text`. |
searchIn | A comma separated list of areas to let the user search in the form module:node=display text e.g.:
`=All,shop=Shop,content:10=Subsection of Content` Defaults to `=All` which searches all content. |