EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #06785


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Autocomplete on Search Forms


Hi,

We did a few things of this kind on our advanced search form : https://agritrop.cirad.fr/cgi/search/advanced

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.

Regards
GF


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/