To add a search form to a web page:

  1. Edit the body of a web page.

  2. Click HTML Mode on the HTML Editor toolbar to toggle to HTML source mode.

  3. Insert the following code where you want the search element to appear. (On the live Web page this code will appear as a text box with a Submit Query button.)

  4. <form action="/search.jsp" method="GET">

    <input type=text name=query>

    <input type=submit>

    </form>

  5. (Optional) Add desired hint text, such as instructions for using wild cards in a search: Use the * wild card with zero or more characters and ? with zero or one character.

  6. To replace the standard Submit Query button with a custom image, insert the following code (which includes the URL location of the image):

  7. <form action="/search.jsp" method="get">

    <input name=query>

    <input type=image alt=Search src="http://www.myorg.org/knowledge/assets/search-kb.gif" border=0 name=submit>

    </form>

  8. (Optional) If you have different wrappers assigned to different folders, you can show the search results in the same wrapper as the page hosting the search form by specifying search.jsp as the target (without the leading slash / ) as in the following example:

  9. <form action="search.jsp" method="get">

    <input name="query" type="text">

    <input name="submit" type="submit">

    </form>