Embed an OPAC Search Form on Your Library's Website
  • 20 Mar 2020
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Embed an OPAC Search Form on Your Library's Website

  • Dark
    Light
  • PDF

Article Summary

You or the person who manages your website can include the following HTML code on your site, replacing your-opac-address with the actual address of your own Surpass Cloud OPAC.

<form action="https://your-opac-address/searchlist" target="_blank" method="get">
     <input hidden name="type" value="Basic">
     <input name="keyword" value="" placeholder="Enter a keyword to search">
     <input hidden name="searchin" value="">
     <input hidden name="exact" value="false">
     <button type="submit">Search Catalog</button>
</form>

Wherever you have this on your site, users will see a simple text input box with a "Search Catalog" button. When the user types something in the box and clicks the button, Surpass Cloud OPAC will open in a new window or tab showing the results of the search.

This is just the basic code. Feel free to modify it anyway you like to make it fit into your library website. The important parts are the four <input> tags and the address listed in the <form> tag.


Was this article helpful?

What's Next