using a link to prefill an autocomplete databasejoin field will not insert it's value into the DB

fstorch

Member
I have a form with two databasejoin fields rendered as autocomplete.
This works beautifully when I start with an empty form.
However I added a link plugin to each of the target lists which should open that form with the databasejoin fields prefilled from the selected record in the target lists.
The plugin link looks like this:
index.php?option=com_fabrik&view=form&formid=19&einsatz___jpfleger={pfleger___id_raw}

When I click that link, the form opens with the expected value prefilled (the label is set to pfleger.id, ': ', pfleger.nachname, ', ', pfleger.vorname)
upload_2017-12-27_13-29-16.png
However when I try to save that form to create a new record, the notempty validation on that field is triggered. Before I added that validation, the field's content was stored empty.

I've tried to pass &einsatz___jpfleger-auto-complete as well in the link but that didn't help.
What am I missing?

(Github update done yesterday)
 
Hi I have the same issue that autocomplete field filled by url is not saved to Database. Did you found a solution?

Kind Regards, joki94
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top