Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Voyager

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Voyager
    3. Community Knowledge
    4. OPAC: Create External Search Form Widget

    OPAC: Create External Search Form Widget

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    Created By: Laura Guy
    Created on: 5/14/2019



    [This article was copied from the Voyager Wiki.]

    Introduction

    This relates to the "New" Tomcat WebVoyage user interface that is included in Voyager 7.0.1 and forward.

    I spent several hours figuring out this code. Yes, I know it is dumb, but I've put it up here anyways so I never have to fuss with it again. Besides, people keep asking me for it. You'll of course want to replace our URL with yours in the action parameter.

    External Search Form Code (Simple version)

    <form method="get" target="_blank" action="http://catalyst.coalliance.org/vwebv/search">

          <label for="searchArg">Search: </label><input id="searchArg" name="searchArg" class="inputStyle" size="36" type="text">

          <input id="quickSearchButton" value="Go" type="submit"><input value="GKEY^*" name="searchCode" type="hidden">

          <input value="0" name="searchType" type="hidden">

     </form>

    External Search Form Code (More complex version; note hidden fields with preferred defaults)

    <form id="searchBasic" accept-charset="UTF-8" method="GET" action="http://catalyst.coalliance.org/vwebv/search">

    <input title="Please enter search term(s)." id="searchArg" name="searchArg" class="inputStyle" size="51" accesskey="s" type="text"> 

    <input type="hidden" title="Select the index to search." class="" name="searchCode" id="searchCode" value="GKEY^*" /> 

    <input type="hidden" title="Limit your search to these items." class="" name="limitTo" id="limitTo" value="none" /> 

    <input type="hidden" title="Select how many records to display per page." class="" name="recCount" id="recCount" value="10" /> 

    <input type="hidden" name="searchType" value="1" /> 

    <input title="Search the library" type="submit" name="page.search.search.button" id="page.search.search.button" value="Search" />

    </form>

     




    Report
    View article in the Exlibris Knowledge Center
    1. Back to top
      • OPAC: Create External Link Footer Tab
      • OPAC: Disable Quick Limits from Basic Search
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Language
      English
      Product
      Voyager
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved