Help with PicoSearch

How do I add a reset (clear) button to my search form?

You may wish to include a "reset" or "clear" button within your search form. This would give your search users the flexibility to retype search queries without having to use backspace to delete their previous query. To add a reset button, insert the following tag into your search box HTML code where you want the button to appear:

<input type="reset" value="Reset" />

For instance the above tag would add a reset button that says Reset, or you could change the button text by changing the value of the value attribute. If you have a paid account, you can add the reset button on your results page as well. Just follow instructions for creating a custom search box and remember to include the HTML tag for the button.

Back to FAQs