Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to insert repeatable form fields/group using form data model into DB?

vivek1108
Level 1
Level 1

My question is how can we insert a  repeatable field/group of fields into a Database using the Form Data Model.

I've tried creating two separate tables in my DB and making an association from one to child model in Form Data Model editor but it only provides us with get service to configure for the association.

So, whenever I try to post the data to the main Form Data Model it only stores the data in the main table but nothing is getting added into the associated table (with repeatable fields).
Please help me out if there's any other way we can establish this requirement using OOTB.

1 Accepted Solution
Rakhi_Sukhadeve
Correct answer by
Level 2
Level 2

@vivek1108 Association is just like join, which we use to read data from two or more tables.

For inserting data into 2 tables on the click of a button, you can invoke 2 insert service (one for each table).

View solution in original post

2 Replies
Rakhi_Sukhadeve
Correct answer by
Level 2
Level 2

@vivek1108 Association is just like join, which we use to read data from two or more tables.

For inserting data into 2 tables on the click of a button, you can invoke 2 insert service (one for each table).

View solution in original post