1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

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

Discussion in 'Community' started by sunnyjey, Aug 11, 2019.

Thread Status:
Not open for further replies.
  1. sunnyjey

    sunnyjey Active Member

    Level: Community
    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.
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    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})
    ,
    });
     
  3. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
  4. sunnyjey

    sunnyjey Active Member

    Level: Community
    Issue has been resolved. Thank you once again.
     
Thread Status:
Not open for further replies.

Share This Page