SimpleSearchForm's tpl Chunk
This is the Chunk displayed with the &tpl property on the SimpleSearch snippet.
Default Value
<form class="sisea-search-form" action="[[~[[+landing:default=`[[*id]]`]]]]" method="[[+method:default=`get`]]"> <fieldset> <label for="[[+searchIndex]]">[[%sisea.search? &namespace=`sisea` &topic=`default`]]</label> <input type="text" name="[[+searchIndex]]" id="[[+searchIndex]]" value="[[+searchValue]]" /> <input type="hidden" name="id" value="[[+landing:default=[[*id]]]]" /> <input type="submit" value="[[%sisea.search? &namespace=`sisea` &topic=`default`]]" /> </fieldset> </form>
Available Placeholders
| Name | Description |
|---|---|
| landing | The ID of the Resource to show search results on. Defaults to the current Resource. |
| method | Whether to submit over GET or POST. Defaults to GET. |
| searchValue | The current search value. Defaults blank unless a prior search has been performed. |
| searchIndex | The REQUEST var used for the search parameter. |