<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Trebuchet MS">Hi,</font></p>
<p><font face="Trebuchet MS">We did a few things of this kind on our
advanced search form :
<a class="moz-txt-link-freetext" href="https://agritrop.cirad.fr/cgi/search/advanced">https://agritrop.cirad.fr/cgi/search/advanced</a></font><br>
</p>
<p>But as we didn't find any way to manage it in EPrints, we are
still working with the standard EPrints generated form. All of the
modifications to this form are done through jQuery and plugins :<br>
</p>
<ul>
<li>textext (for the autocomplete fields) : author, keywords, ...</li>
</ul>
<ul>
<li>chosen (for the <select> fields).<br>
</li>
</ul>
<p>Of course, we had to write a few cgi scripts to provide data to
the autocomplete functions.<br>
</p>
<p>Regards<br>
GF</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 21/08/2017 à 16:01, Adam Field a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:EMEW3|297bfbe08d5b3573b6708a3260e1ab97y7KFHq14eprints-tech-bounces|ecs.soton.ac.uk|B537CCC4-0B10-4295-BAD9-F6165DE9F96F@adamfield.net">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:Calibri;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-GB">Hi<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-GB">
Has anyone implemented autocomplete on searches? I don’t
think there’s an easy way to do this. Can the workflow
autocompletion infrastructure be leveraged, or does a new
javascript widget need to be added and a new endpoint
created to populate the suggestions?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-GB">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-GB">--<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-GB">Adam<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
</body>
</html>