Skip to main content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

Search templates: Primo simple search boxes

Primo inline script search box

Primo inline script search box code

<!-- onsubmit inline script that concatenates the query string into valid parameter -->
<form onsubmit="document.getElementById('primoQuery').value = 'any,contains,' + document.getElementById('primoQueryTemp').value.replace(/[,]/g, ' ')" id="simple" name="searchForm" method="GET" target="_blank" action="https://caccl-laccd.primo.exlibrisgroup.com/discovery/search" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
<!-- Customizable Parameters -->
<input type="hidden" name="vid" value="01CACCL_LACCD:ELAC">
<input type="hidden" name="tab" value="everything">
<input type="hidden" name="search_scope" value="ELAC_LibraryCatalog_and_CI">
<input type="hidden" name="mode" value="basic">

<!-- Fixed parameters -->
<input type="hidden" name="query" id="primoQuery">

<!-- Search box-->
<input type="search" id="primoQueryTemp" autofocus="autofocus" placeholder="Search anything..." size="35" style="font-size: 18px;padding: 10px; height: 37px">

<!-- Search Button -->
<input class="btn btn-blue" id="go" title="Search" type="submit" value="Search" alt="Search" style="margin-top: 0px;margin-left: -3px;padding: 6px 10px;font-size: 18px;">

</form>
<a href="https://caccl-laccd.primo.exlibrisgroup.com/discovery/search?vid=01CACCL_LACCD:ELAC&mode=advanced" target="_blank">Advanced Search</a>