<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Traci,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
My first thought is to try separating out the text and links below the search box from the Primo search form. Treat it as two separate elements. This will also make troubleshooting the form easier. Did you previously have all of these elements together?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I wonder if this has to do with the sections that tell it what to do on submission and the target. I have these highlighted in yellow in my example below. I think a few weeks ago someone else had an issue with the target self. Right now yours is set to target
 blank. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
With your current widget, I do notice that the search terms appear in the URL, but they are not resulting in a search being run. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
In case it helps, here is a sample, very simple, plain search box of ours.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<form action="https://sbctc-centralia.primo.exlibrisgroup.com/discovery/search" enctype="application/x-www-form-urlencoded; charset=utf-8" id="simple" method="get" name="searchForm"<span style="background-color: rgb(255, 255, 0);"> onsubmit="searchPrimo()"</span>
<span style="background-color: rgb(255, 255, 0);">target="_self"</span>><!-- Customizable Parameters --><input name="vid" type="hidden" value="01STATEWA_CNTRALIA:CENTRALIA_V1" /> <input name="tab" type="hidden" value="Everything" /> <input name="search_scope"
 type="hidden" value="MyInst_and_CI" /> <input name="mode" type="hidden" value="basic" /> <!-- Fixed parameters --> <input name="displayMode" type="hidden" value="full" /> <input name="bulkSize" type="hidden" value="10" /> <input name="highlight" type="hidden"
 value="true" /> <input name="dum" type="hidden" value="true" /> <input id="primoQuery" name="query" type="hidden" /> <input name="displayField" type="hidden" value="all" /> <!-- Enable this if "Expand My Results" is enabled by default in Views Wizard --> <input
 name="pcAvailabiltyMode" type="hidden" value="true" /> <input id="primoQueryTemp" size="35" type="text" value="" /> <!-- Search Button --> <input alt="Search" id="go" onclick="searchPrimo()" style="height: 1.8em; font-size: 1.2em; font-weight: bold; background:
 #0E69AA; color: #ffffff; border: 0px solid;" title="Search" type="button" value="Search" />&nbsp;</form><br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family:Tahoma; font-size:13px"></div>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-size:13px">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt"><b style=""><span style="font-size:12pt; color:rgb(59,56,56)"><font face="Helvetica"><span style="font-family: Tahoma, Geneva, sans-serif;">Ryer Banta</span></font></span></b></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt"><i><span style="font-size:12pt; color:rgb(59,56,56)"><font face="Helvetica"><span style="font-family: Tahoma, Geneva, sans-serif;">Information Literacy and Technology Librarian</span></font></span></i></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt"><span style="font-size:12pt; color:rgb(59,56,56)"><font face="Helvetica"><span style="font-family: Tahoma, Geneva, sans-serif;">Pronouns: he/him/his</span></font></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt"><span style="font-size:12pt; color:rgb(59,56,56)"><font face="Helvetica"><span style="font-family: Tahoma, Geneva, sans-serif;">Centralia College</span></font></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt"><span style="font-size:12pt; color:rgb(59,56,56)"><font face="Helvetica"><span style="font-family: Tahoma, Geneva, sans-serif;">360-623-8121</span></font></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt"><span style="font-size:12pt"><a rel="noopener noreferrer" tabindex="0" href="https://mail.centralia.edu/owa/redir.aspx?C=fNEFFUiOcJn8XZD_VNaqVEixJx9QWtNlXDDsY0izFrXf1xAoVYvYCA..&URL=mailto%3aRyer.Banta%40centralia.edu" target="_blank" style="color:rgb(149,79,114)"><span style="color:rgb(5,99,193)"><font face="Helvetica"><span style="font-family: Tahoma, Geneva, sans-serif;">Ryer.Banta@centralia.edu</span></font></span></a></span></p>
<div class="MsoNormal" style="margin: 0px 0in 0.000133333px; font-size: 11pt;"><a href="https://centralia.libcal.com/appointments/ryer" style="box-sizing:border-box;background-color:rgb(255, 255, 255);color:rgb(0, 46, 109);font-family:Poppins, sans-serif;font-size:14px;text-align:start"><span style="font-family: Tahoma, Geneva, sans-serif; font-size: 12pt; color: rgb(12, 100, 192);">Schedule
 an Appointment</span></a><br>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Wactclc-primo <wactclc-primo-bounces@lists.ctc.edu> on behalf of Traci Taylor <ttaylor@btc.edu><br>
<b>Sent:</b> Tuesday, August 2, 2022 11:58 AM<br>
<b>To:</b> WACTCLC Primo discussions <wactclc-primo@lists.ctc.edu><br>
<b>Subject:</b> [EXTERNAL][Wactclc-primo] Widget/Embed Code for Search Box</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:Gulim}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.x_EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<table border="0" cellspacing="0" cellpadding="0" align="left" width="100%">
<tbody>
<tr>
<td style="background:#ffb900; padding:5pt 2pt 5pt 2pt"></td>
<td width="100%" cellpadding="7px 6px 7px 15px" style="background:#fff8e5; padding:5pt 4pt 5pt 12pt; word-wrap:break-word">
<div style="color:#222222"><span style="color:#222; font-weight:bold">Caution:</span> This email originated from outside of Centralia College. Do not click links or open attachments unless you recognize the sender and know the content is safe.
</div>
</td>
</tr>
</tbody>
</table>
<br>
<div>
<div class="x_WordSection1">
<p class="x_MsoNormal">Hello, </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">We made some minor changes to our code for the search box widget.  The only things that were changed were the size type in two places and the link to “Forgot Password.”  We didn’t make any changes to the code beyond these two things.
 Now when we enter search terms in the search box, it only takes us to the Primo homepage and does not run the search.
</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><img width="548" height="119" id="x_Picture_x0020_1" style="width:5.7083in; height:1.2395in" data-outlook-trace="F:1|T:1" src="cid:image004.jpg@01D8A667.3E8B0490"><br>
Here is a screenshot of the search box in one of our LibGuides. Here is the <a href="https://btc.ctc.libguides.com/c.php?g=1253093&p=9180434">
link to the LibGuide</a> with the search box, if you want to test it. </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Code:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><form name="searchForm" role="search" method="get" action="<a href="https://sbctc-btcctc.primo.exlibrisgroup.com/discovery/search?vid=01STATEWA_BTC:BELLINGHAM&amp;sortby=rank&amp;lang=en_US">https://sbctc-btcctc.primo.exlibrisgroup.com/discovery/search?vid=01STATEWA_BTC:BELLINGHAM&amp;sortby=rank&amp;lang=en_US</a>"
 enctype="application/x-www-form-urlencoded; charset=utf-8" id="simple" target="_blank" class=" "></p>
<p class="x_MsoNormal"><span>Search in:</span></p>
<p class="x_MsoNormal">    <select name="search_scope" style="padding: 0.2em 0.3em; margin-top: 3px; border: 1px solid #CCC; border-radius: 2px;"></p>
<p class="x_MsoNormal">      <option value="MyInst_and_CI" selected="">Books, videos, articles &amp; more (All Library Resources)</p>
<p class="x_MsoNormal">      </option><option value="MyInstitution">Books, eBooks &amp; media @BTC Library</p>
<p class="x_MsoNormal">      </option><option value="CentralIndex">Online journal articles, eBooks &amp; more</p>
<p class="x_MsoNormal">                  </option><option value="EBSCO">EBSCO Databases (Journal Articles)</p>
<p class="x_MsoNormal">                </option><option value="CourseReserves">Course Reserves</p>
<p class="x_MsoNormal">    </option></select></p>
<p class="x_MsoNormal"><br></p>
<p class="x_MsoNormal">    <label>Search for:</label></p>
<p class="x_MsoNormal">  <input type="text" id="primoQueryTemp" value=" " size="55" name="queryTemp" onkeypress="searchKeyPress(event);" class=" "></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><!-- Customizable Parameters --></p>
<p class="x_MsoNormal"><input type="hidden" name="institution" value="01STATEWA_BTC"></p>
<p class="x_MsoNormal"><input type="hidden" name="vid" value="01STATEWA_BTC:BELLINGHAM"></p>
<p class="x_MsoNormal"><!-- Fixed parameters --></p>
<p class="x_MsoNormal"><input type="hidden" name="displayMode" value="full"></p>
<p class="x_MsoNormal"><input type="hidden" name="highlight" value="true"></p>
<p class="x_MsoNormal"><input type="hidden" name="dum" value="true"></p>
<p class="x_MsoNormal"><input type="hidden" name="query" id="primoQuery"></p>
<p class="x_MsoNormal"><input type="hidden" name="displayField" value="all"></p>
<p class="x_MsoNormal"><!-- Enable this if "Expand My Results" is enabled by default in Views Wizard --></p>
<p class="x_MsoNormal"><input type="hidden" name="pcAvailabiltyMode" value="true"></p>
<p class="x_MsoNormal"><input value="Go" id="go" title="Search" type="submit" onclick="searchPrimo();" class="button radius" style="margin-top:10px; margin-bottom:10px; height: 22px; font-size: 12px; font-weight: bold; background: #DE6E17; color: #ffffff; border:
 1px solid;"> <br></p>
<p class="x_MsoNormal">  <a href="<a href="https://btc.ctc.libguides.com/c.php?g=1221199&p=8933697">https://btc.ctc.libguides.com/c.php?g=1221199&p=8933697</a>" style="color:#0066ff" target="_blank"></p>
<p class="x_MsoNormal">  Forgot Password?</a> Or trouble logging in? Try <a href="<a href="http://www.btc.edu/General/publications/Student-RemoteAccess.pdf">http://www.btc.edu/General/publications/Student-RemoteAccess.pdf</a>" style="color:#0066ff" target="_blank">Student
 Remote Access</a>.</p>
<p class="x_MsoNormal"></form></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Does anyone know why the search isn’t being run in Primo?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Any help is greatly appreciated!</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Thank you, </p>
<p class="x_MsoNormal">Traci</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><a href="https://www.btc.edu/"><img border="0" width="70" height="115" align="left" hspace="6" alt="image002.jpg@01D7901D" title="" data-outlook-trace="F:1|T:1" src="cid:image001.jpg@01D8A664.EF64CA10"></a><a name="x__Hlk82444055"><b><span style="">Traci
 Taylor, MLS</span></b></a><span style=""><span style=""></span></span></p>
<p class="x_MsoNormal" style="margin-bottom:6.0pt"><span style=""><b><span style="color:black">Lead Librarian</span></b></span><span style=""><span style=""></span></span></p>
<p class="x_MsoNormal"><span style=""></span><a href="http://www.btc.edu/"><span style=""><span style="color:#0076A8">Bellingham Technical College</span></span><span style=""></span></a><span style=""><span style=""></span></span></p>
<p class="x_MsoNormal"><span style=""><span style="color:black">3028 Lindbergh Ave. | Bellingham, WA 98225</span></span><span style=""><span style=""></span></span></p>
<p class="x_MsoNormal"><span style=""><span style="color:black">Phone: </span></span><span style=""><span style="color:#0076A8">360.752.8488
</span></span><span style=""><span style="color:black">| Office: </span></span><span style=""><span style="color:#0076A8">CC 327</span></span></p>
<p class="x_MsoNormal"><span style="">Reference: </span><a href="https://askwa.libanswers.com/widget_chat.php?hash=bc35573cec49a83226b25e7a450c6e8c"><span style=""><span style="color:#2E74B5">Chat with a Librarian 24/7</span></span><span style=""></span></a><span style=""><span style="color:#2E74B5"></span></span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal" style="margin-top:1.0pt"><span style=""><span style="font-size:9.0pt"> <i><span style="color:#0076A8">BTC provides student-centered, high-quality professional technical education</span></i></span></span><span style=""><span style="font-size:12.0pt; font-family:"Gulim",sans-serif">
</span></span><span style=""><i><span style="font-size:9.0pt; color:#0076A8">for today’s needs and tomorrow’s opportunities.</span></i></span><span style=""><span style="font-size:12.0pt; font-family:"Gulim",sans-serif"></span></span></p>
<span style=""></span>
<p class="x_MsoNormal"> </p>
</div>
</div>
</div>
</body>
</html>