[EP-tech] Autocomplete on Search Forms

Gilles Fournié gilles.fournie at cirad.fr
Tue Aug 22 07:44:12 BST 2017


We did a few things of this kind on our advanced search form : 

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 :

  * textext (for the autocomplete fields) : author, keywords, ...

  * chosen (for the <select> fields).

Of course, we had to write a few cgi scripts to provide data to the 
autocomplete functions.


Le 21/08/2017 à 16:01, Adam Field a écrit :
> Hi
> 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?
> Cheers
> --
> Adam
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170822/6d502374/attachment.html 

More information about the Eprints-tech mailing list