Create a form to search a web site running WAIS
If your web site is not stored or published to a web server running Microsoft Internet Information Server (IIS) and Indexing Service, Microsoft FrontPage uses the WAIS (Wide Area Information Server) search engine that is included with FrontPage to search the text index.
- In Page view, place the insertion point where you want to create the search form.
- On the Insert menu, click Web Component.
- 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.
- 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.
- Click the Search Form Properties tab.
- 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.
- To make the text box narrower or wider, type a smaller or larger number in the Width in characters text box.
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.
- 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.
- To change the label of the Reset button on the search form, type a different label in the Label for "Reset" button text box.
- Click the Search Results tab.
- In the Results section, select the formatting options you want.
Notes
- If you add a search form to an existing page, be sure to type instructions for site visitors on how to use the search form, and then create the search form immediately following the explanatory text.
- To test the functionality of your form, you must first publish your web site to a web server running either the FrontPage Server Extensions or SharePoint Team Services from Microsoft. Ask your web server administrator or Internet Service Provider whether this software is installed on your web server. Once the web site is published, click Preview in Browser
to test the form.
Tips
- To create a new text index and purge outdated words, click Recalculate Hyperlinks on the Tools menu. Note that this procedure may take several minutes if you have many external hyperlinks, because FrontPage must connect to and verify each one.
- If you ever want to change the properties of your search form that you set when you created it, right-click the form, and then click Search Form Properties on the shortcut menu.