Repeat group data not saved

Status
Not open for further replies.
I have tried to follow the tutorial #8 ?one to many relationship? although it?s made for Fabrik 2
First thing the repeat table is not created unless I use the ?update database? function (forms).
Next thing is that no repeated data is stored - only the main record is updated/replaced with the last repeat group entered.
This goes for front- as well as backend.

What?s the different to make it work in Fabrik 3 ?
 
Are you working with existing tables?

If not, and these are tables you are creating from scratch, the easiest way to create a one-to-many (repeated) joined table in 3.x is:

Go to Groups tab.
Create new Group.
Give it a name, and assign it to the Form you want it on.
Save it.
You should now have the option over on the right to set it to "Repeat".
Save it again.

That's it. You now have a one-to-many table, linked to your main table. You can add elements to it in the Elements admin, as usual.

-- hugh
 
N/p. It should work doing it the "by hand" way, if you need to work with existing tables that already have an FK / PK relationship, I'm just not sure which step you may have gotten wrong.

-- hugh
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top