SOLVED: Two Autofill plugins in Same Form Not working !!

Status
Not open for further replies.

sunnyjey

Active Member
I had two autofill plugin instances in a same Form populating fields from two different Lists. Both plugin instances were working fine, but stopped working few months backs. I thought it could be due to some issue at my end.

But, today for almost 3 hours, I tried to debug this issue and observed that this issue is most likely at Fabrik.

When you publish two autofill plugins in a single Form, both Autofill plugins do not work (for two different List as well as for data from Single field!). I'm pretty sure about this bug, but still requesting others to check & verify the same.

Even gone through GitHub for any recent changes on Autofill. I'm not sure, but this issue started after following shortlang incorporation.

http://fabrikar.com/forums/index.php?threads/solved-use-shortlang-in-autofill-map.49690/

Please do the needful. Thank you.
 
Confirmed.
"Uncaught SyntaxError: Unexpected token ," it seems there's one , added while "concatenating" the 2 plugins (but I don't know where this is done)

form_61_1.addPlugins({
'Autofill0': new Autofill({"observe":"autofilltest___j_stadt_plz","trigger":"autofilltest___j_stadt_plz","formid":61,"map":"{\"stadt___plz\":\"autofilltest___plzautofill\",\"stadt___geburtstag\":\"autofilltest___geburtstag\"}","cnn":"1","table":"43","showNotFound":false,"notFoundMsg":"","editOrig":false,"confirm":false,"autofill_lookup_field":null,"fillOnLoad":true})
,,
'Autofill1': new Autofill({"observe":"autofilltest___j_strasse","trigger":"","formid":61,"map":"{\"strassen___name\":\"autofilltest___strasseautofill\"\"}","cnn":"1","table":"49","showNotFound":false,"notFoundMsg":"","editOrig":false,"confirm":true,"autofill_lookup_field":null,"fillOnLoad":false})
,
});
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top