Catalog Search Box

You can add a catalog search box to your library blogs and websites by copying and pasting the code from this text file:
Catalog Search Box

Important: When you copy and paste the code, you should change the first line for the subdomain in the link matches your library.
Example — If you’re Beverly, you would change this:
<form name="catalogsearch" action="https://evergreen.noblenet.org/eg/opac/results" method="get">

To this:
<form name="catalogsearch" action="https://beverly.noblenet.org/eg/opac/results" method="get">

Editing the Search Box Code

You can modify the code to remove some options. The dropdowns for Format, Search Type and List are all Select list with each selection enclosed by option tags, like this:

<option value='47'>Peabody South Branch</option>

You can use copy and paste to rearrange these options, or you can eliminate some of the options from your select list. For example, if you were doing a search box for the Reading Children’s Room, you might remove most of the lines from the scopes and leave only Reading Children’s, Reading, Children’s Collections and NOBLE (All Libraries). You can create an online collections search box by removing every line in the format area except the ones for types of online content your library has. Note that you’re only eliminating these from the search box on your own page — once users get into the catalog, they will have the full range of options.

If you only want to include one format, search type or scope on your form, you can remove the whole list and replace it with a hidden element set to the value that you want. Be sure that your hidden element uses the same name as the original select list, and the same value that was in the option that you want to use.

For example, here is a hidden element that doesn’t replaces the select list of scopes with the hidden element for Gloucester:
<input type="hidden" name="locg" value="18" />