[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Question about autocompletion...
- Subject: [EP-tech] Question about autocompletion...
- From: Jean-Marie.Lebechec at inp-toulouse.fr (Jean-Marie.Lebechec at inp-toulouse.fr)
- Date: Fri, 12 Jan 2018 13:12:33 +0100
- In-reply-to: <2655a0be-5cf5-7f73-deaf-67ac8b44a45d@inp-toulouse.fr>
- References: <2655a0be-5cf5-7f73-deaf-67ac8b44a45d@inp-toulouse.fr> <e796bd66-0e3f-cf96-cd3d-d5f573dfdfb0@inp-toulouse.fr>
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
false;\">*IdRef*</a>/////
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
personne',\'$name,
$firstname\','','','','','','/////*#c21_creators_2_ppn*/');return
false;\">IdRef</a>/ / ///<a href=\"#\"
onClick=\"jQuery.noConflict();envoiClient('Nom de personne',\'$name,
$firstname\','','','','','','/////*#c21_creators_3_ppn*/');return
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
--
***********************************************
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