Skip to main content
Support - EBSCO Help

How can I create an EBSCOhost Search box using HTML instead of JavaScript?

If your institution would like to take advantage of the EBSCOhost Search Box but would prefer to use HTML code instead of JavaScript, follow the template below.

<FORM method="GET" action="http://search.ebscohost.com/login.aspx" target="EBSCOhost">
<IMG SRC="http://support.ebscohost.com/images/logos/ebscohost.gif" border="0" ALT="EBSCOhost" align="absmiddle"><br>
<input name="direct" value="true" type="hidden">
<input name="site" value="ehost-live" type="hidden">
<input name="scope" value="site" type="hidden">
<input name="type" value="1" type="hidden">
<input name="db" value="aph" type="hidden">
<input name="authtype" value="ip,uid" type="hidden">
<input name="bQuery" size="30" type="text">
<input type="Submit" value=Go>
</FORM> 

Note the code above can be manipulated to search the databases your institution subscribes to. To change the database that is being searched you will have to substitute the product code for the database you wish to search with the product code used in the example above (“aph”).

You can also search additional databases by adding additional lines of code for each database you wish to search. For example, add a line of code below the first database being searched, substituting the product code for the additional database you wish to search. The HTML code below will search Academic Search Premier and Business Source Premier.

<input name="db" value="aph" type="hidden">
<input name="db" value="buh" type="hidden">

You can also extend the capabilities of the HTML Search Box to include “Limiters”. For example, provide users the ability for Full Text (online) or Scholarly (Peer Reviewed) inputs. The HTML code below can be added/altered to assist in accomplishing this:

<!-- Limiter: Full Text -->
<p>Full-Text (online)
<input name="cli0" value="FT" type="hidden">
<input type="radio" name="clv0" value="Y" checked="Y"> Yes &nbsp;&nbsp;
<input type="radio" name="clv0" value="N"> No
<!-- Limiter: Scholarly/Peer-Reviewed -->
<p>Scholarly (Peer Reviewed)
<input name="cli1" value="RV" type="hidden">
<input type="radio" name="clv1" value="Y"> Yes &nbsp;&nbsp;
<input type="radio" name="clv1" value="N" checked="Y"> No

 

The complete list of product codes can be found at this link:
EBSCOhost Database Short Names List (Product Codes)