Create a form to search a web site running on IIS

If your web site is published to a web server running Microsoft Internet Information Services (IIS), the search form uses Indexing Service to search the text index.

  1. In Page view, place the insertion point where you want to create the search form.
  2. On the Insert menu, click Web Component.
  3. In the left pane, click Web Search, and in the right pane, double-click Current Web.

    The Search Form Properties dialog box will automatically open.

  4. If the Search Form Properties dialog box is not already open, right-click the search form, and then click Search Form Properties on the shortcut menu.
  5. Click the Search Form Properties tab.
  6. To change the label of the text box where site visitors will type their search text, type a different label in the Label for input text box.
  7. To make the text box narrower or wider, type a smaller or larger number in the Width in characters text box.
  8. Changing the size of the text box doesn't affect how many characters a site visitor can type in the box. If a site visitor types more characters than will fit in the box, the extra characters will scroll off the left side of the box, but all the text the site visitor types will be submitted with the search form.

  9. To change the label of the Start Search button on the search form (that is, the button a site visitor clicks to submit the search to the server), type a different label in the Label for "Start Search" button text box.
  10. To change the label of the Reset button on the search form, type a different label in the Label for "Reset" button text box.
  11. Click the Search Results tab.
  12. In the Scope of search results section, select where the search engine should search.
  13. Type or select the Maximum records per page.
  14. Type or select the Maximum records per query.
  15. Under Additional information to display in the search results list, select the formatting options you want:

Notes

Tips