[EP-tech] Question about autocompletion...

Jean-Marie.Lebechec at inp-toulouse.fr Jean-Marie.Lebechec at inp-toulouse.fr
Fri Jan 12 12:12:33 GMT 2018

Hi all, Is it possible to capture in any way the id of the multiple 
field from which autocompletion is declared? Let me explain a bit 
(difficult to explain in English for me!): in my case, I trigger a call 
for autocompletion (with call to webervice). Ok.I added a link (idRef) 
that calls a modal window that refine the search (and offers the 
possibility to redo a search). The call is made this way : /<a 
href=\"#\" onClick=\"jQuery.noConflict();envoiClient('Nom de 
personne',\'$name, $firstname\','','','','','','');return 

In return, I want to retrieve the selected information in the modal 
window and insert it in the right place in Eprints form. For that, I 
need to pass, automatically, in parameter, the iD of the field from 
which autocompletion is started. Something like : //...
///<a href=\"#\" onClick=\"jQuery.noConflict();envoiClient('Nom de 
false;\">IdRef</a>/ / ///<a href=\"#\" 
onClick=\"jQuery.noConflict();envoiClient('Nom de personne',\'$name, 
false;\">IdRef</a>/ ... /How to capture this information from the 
autocompletion definition file? Is it even possible?
Tell me if it's not clear ..and thank you for your help or suggestions ! 

Jean Marie Le Bechec
Service Commun de la Documentation
Responsable ingenierie documentaire
Direction du Systeme d'Information
Referent Etudes

Institut National Polytechnique de Toulouse
6 allee Emile Monso - bp 34038 -
31029 Toulouse cedex 4
Tel : 05 34 32 31 16
Tel Port : 06 40 81 35 68
Mail :lebechec at inp-toulouse.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20180112/a50b8ff3/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hkafhmjnmdfbamnf.png
Type: image/png
Size: 59592 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20180112/a50b8ff3/attachment-0001.png 

More information about the Eprints-tech mailing list