Autofill on upload does not work

elmarra

Member
I applied the autofill plugin to a module.
Reading the username field I must populate other data.
Including name, surname, tax code etc.
It works perfectly.
But having a user field this shows the user name by default and therefore in order to populate the fields you need to change the user and then select the correct user. (This field after the tests will be hidden therefore not possible)
I tried to activate "autocompletion on loading" so that as soon as the form opens it populates the required fields but unfortunately both in the back-end and front-end the written loading runs and nothing happens.
In the browser console I have a js error.
I updated from github 5 days ago
 

Attachments

  • error js.txt
    2.6 KB · Views: 26
I'm borrowing these lines from @troester:
"Enable "Debug JS" in Fabrik Options/Debugging "Allow Fabrik Debug", then try your autofill form again.
This will run the uncompressed JS files and should show some more meaningful error line numbers in the browser console."
 
But having a user field this shows the user name by default
This is what the user element is for.
If you only want a dropdown with users take a dbjoin to J!'s user tabler #__users.
 
yes, that's right. but that's not the problem - I'm just explaining my current situation. maybe my English poor the problem is precisely the infinite loading. not owed by the user even with other fields.
 
It's replicatable, autofill "onload" is not working.

But you can add a form php plugin running onLoad to fill the elements.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top