Code to put in Properties > Custom

<script type="text/javascript">
function searchPrimo() {
 document.getElementById("primoQuery").value = "any,contains," + document.getElementById("primoQueryTemp").value.replace(/[,]/g, " ");
 document.forms["searchForm"].submit();
}
</script>

AU Museum Search Box

 

Code for Search Box:

<form id="simple" name="searchForm" method="get" action="https://wrlc-amu.primo.exlibrisgroup.com/discovery/search?" enctype="application/x-www-form-urlencoded; charset=utf-8" onsubmit="searchPrimo()">
   
   <input type="hidden" name="vid" value="01WRLC_AMU:prod">
   <input type="hidden" name="tab" value="Everything">
   <input type="hidden" name="mode" value="basic">
   <input type="hidden" name="facet" value="library,include,4102–13707090004102">
   <input type="hidden" name="displayMode" value="full">
   <input type="hidden" name="bulkSize" value="10">
   <input type="hidden" name="highlight" value="true">
   <input type="hidden" name="dum" value="true">
   <input type="hidden" name="query" id="primoQuery">
   <input type="hidden" name="displayField" value="all">
   <input type="hidden" name="pcAvailabiltyMode" value="true">

   <div class="col-xs-12 col-sm-9 no-bs-padding">
      <label for="primoQueryTemp" class="sr-only">Search Input</label> 
      <input class="form-control" type="text" id="primoQueryTemp" value="" placeholder="Enter term(s) to search AU Museum holdings" />
   </div>
   <div class="col-xs-12 col-sm-3 no-bs-padding-right">
      <button id="go" class="btn btn-primary btn-block no-margin" onclick="searchPrimo()" type="submit">Search</button>
   </div>
</form>