FP: Reset Button on Search Results Page Does Not Clear Form

Last reviewed: March 18, 1998
Article ID: Q171721
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows
  • Microsoft FrontPage 97 for Windows with Bonus Pack
  • Microsoft FrontPage for the Power Macintosh, version 1.0

SYMPTOMS

When you click the Reset button on a search results page, nothing happens.

This behavior occurs when you enter search criteria, click the Search button on the form and then click the Reset button on the results page. This behavior does not occur on the search form.

CAUSE

The WebBot Search component sets the default value for the search results page to the query text. Therefore, when you click Reset, the query text remains in the text box on the search results page. This functionality was implemented to inform you about your query.

NOTE: When you use the WebBot Search component, you cannot set the default value of the text box.

When you create an HTML page, you can specify default values for form fields. Clicking the Reset button on a form field resets the form fields to their default values. When you load a form for the first time, the search field is blank. If you type some text in the search field and then click Reset, the search field no longer contains your search text (it is blank). When you type text in the search field and then click Search, the search results page contains the query string. In other words, when the page is loaded, it contains the query string as the default value for the form field. Clicking Reset does not delete the search string from the search results page.


Additional query words: 97 fp97 fp98
Keywords : fpedit kbusage kbdta
Version : windows:97,98; macintosh:1.0
Platform : MACINTOSH WINDOWS
Hardware : MAC x86
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.