Search Form API

The Search Form API gets the HTML for a search form that can be embedded into a page.

An example usage would be to use this API to put a small search form in the upper right of the header section of a page.

You would not use this API to display the search form on the search page. See Search Layouts & Content Templates for examples of setting up the search page.

This API is different from other APIs in that it doesn't use a content template. Instead, it gets the specified search form and returns the rendered form template HTML. 

You would need to add a search app form first before using this API.

Learn more about APIs.

Minimum Tag

{{'FORM_KEY') }}

Example Tag

Get the search form

{{'FORM_KEY') }}

API Tag Parameters

key Required

The form key.

Type: String