<div dir="ltr"><div><div><div><div>Stefano,<br><br></div>This work really good <i>$('input[id^=tag_110_subfield_</i><wbr><i>a_]') </i>I can select the desired inputs that way without touching anything. I still will propose to add the class that add more data to the field.<br><br></div>Jonathan: for what I see the plugins add stuff after the field not in the field like I want.<br><br></div>Thanks for the help!<br><br></div>Regards<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 1, 2016 at 7:38 AM, Jonathan Druart <span dir="ltr"><<a href="mailto:jonathan.druart@bugs.koha-community.org" target="_blank">jonathan.druart@bugs.koha-community.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Rodrigo,<br></div><br>I think what you are trying to achieve should be done using plugins, have a look at the cataloguing/value_builder scripts.<br></div><br>Cheers,<br></div>Jonathan<br></div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Mon, 31 Oct 2016 at 20:19 Rodrigo Santellan <<a href="mailto:rsantellan@gmail.com" target="_blank">rsantellan@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr" class="m_-3311253504613198327gmail_msg"><div class="m_-3311253504613198327gmail_msg"><div class="m_-3311253504613198327gmail_msg"><div class="m_-3311253504613198327gmail_msg">Hi,<br class="m_-3311253504613198327gmail_msg"><br class="m_-3311253504613198327gmail_msg"></div>I'm trying to create an autocomplete for a few fields when adding a biblio. My problem so far is that the ids generated are things like this: <b class="m_-3311253504613198327gmail_msg">tag_110_subfield_a_361770_<wbr>300725</b> (I'm trying to create an author autocomplete). One quick fix for me will be to add to the fields a class containing this: tag_[% subfield_loo.tag %]_subfield_[% subfield_loo.subfield %]<br class="m_-3311253504613198327gmail_msg"><br class="m_-3311253504613198327gmail_msg"></div>Should this will be helpful to anybody else? Is there a better way to do this?<br class="m_-3311253504613198327gmail_msg"><br class="m_-3311253504613198327gmail_msg"></div>Regards<br class="m_-3311253504613198327gmail_msg"></div></div></div>
______________________________<wbr>_________________<br class="m_-3311253504613198327gmail_msg">
Koha-devel mailing list<br class="m_-3311253504613198327gmail_msg">
<a href="mailto:Koha-devel@lists.koha-community.org" class="m_-3311253504613198327gmail_msg" target="_blank">Koha-devel@lists.koha-<wbr>community.org</a><br class="m_-3311253504613198327gmail_msg">
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" class="m_-3311253504613198327gmail_msg" target="_blank">http://lists.koha-community.<wbr>org/cgi-bin/mailman/listinfo/<wbr>koha-devel</a><br class="m_-3311253504613198327gmail_msg">
website : <a href="http://www.koha-community.org/" rel="noreferrer" class="m_-3311253504613198327gmail_msg" target="_blank">http://www.koha-community.org/</a><br class="m_-3311253504613198327gmail_msg">
git : <a href="http://git.koha-community.org/" rel="noreferrer" class="m_-3311253504613198327gmail_msg" target="_blank">http://git.koha-community.org/</a><br class="m_-3311253504613198327gmail_msg">
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer" class="m_-3311253504613198327gmail_msg" target="_blank">http://bugs.koha-community.<wbr>org/</a></blockquote></div>
</blockquote></div><br></div>