Re: [Koha-devel] Create autocomplete for addbiblio.pl

2016-11-01 Thread Rodrigo Santellan
Stefano, This work really good *$('input[id^=tag_110_subfield_**a_]') *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. Jonathan: for what I see the plugins add stuff after the field not in the field like I

Re: [Koha-devel] Create autocomplete for addbiblio.pl

2016-11-01 Thread Jonathan Druart
Hi Rodrigo, I think what you are trying to achieve should be done using plugins, have a look at the cataloguing/value_builder scripts. Cheers, Jonathan On Mon, 31 Oct 2016 at 20:19 Rodrigo Santellan wrote: > Hi, > > I'm trying to create an autocomplete for a few fields

Re: [Koha-devel] Create autocomplete for addbiblio.pl

2016-11-01 Thread Stefano Bargioni
I like your idea. Anyway, you can select the field 110a using $('input[id^=tag_110_subfield_a_]') HTH. Stefano Rodrigo Santellan writes: Hi, 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:

[Koha-devel] Create autocomplete for addbiblio.pl

2016-10-31 Thread Rodrigo Santellan
Hi, 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: *tag_110_subfield_a_361770_300725* (I'm trying to create an author autocomplete). One quick fix for me will be to add to the fields a class containing