Stevebenson223
Member
Joomla 4.3.2
Fabrik 4 delta
PHP 8.1.21
I've updated a site from J3/F3 to the above and I'm having problems with the "add option in front end" in a databasejoin element.
I have a repeating group with two fields: a dropdown and a databasejoin element. The databasejoin renders as a dropdown to another table in the site database and the value is the ID. (The other table is a People table with only two fields, first name and last name.) The "Add option in front end" is enabled.
When adding data, if I use the add button, a form pops up and saves the data to the People table correctly. However, the databasejoin element is not populated with the data just added and, much worse, any data previously added to any of the databasejoin elements in the repeating group are deleted!
I've also tried this in a brand new J4/F4 installation and in a situation where I'm not using a repeating group: the results are the same - the data entered in the popup form is saved to the joined table but any data entered in the field on the main form is deleted.
I tried switching on Debug but nothing is shown on the front end. I'm seeing nothing in the browser console either.
Any ideas?
Fabrik 4 delta
PHP 8.1.21
I've updated a site from J3/F3 to the above and I'm having problems with the "add option in front end" in a databasejoin element.
I have a repeating group with two fields: a dropdown and a databasejoin element. The databasejoin renders as a dropdown to another table in the site database and the value is the ID. (The other table is a People table with only two fields, first name and last name.) The "Add option in front end" is enabled.
When adding data, if I use the add button, a form pops up and saves the data to the People table correctly. However, the databasejoin element is not populated with the data just added and, much worse, any data previously added to any of the databasejoin elements in the repeating group are deleted!
I've also tried this in a brand new J4/F4 installation and in a situation where I'm not using a repeating group: the results are the same - the data entered in the popup form is saved to the joined table but any data entered in the field on the main form is deleted.
I tried switching on Debug but nothing is shown on the front end. I'm seeing nothing in the browser console either.
Any ideas?