Components under repeater not saving in the data base

Hello,

So we are making a contact page in which the email will be saved in different table in the database and the input component for email is under a repeater block and it’s not saving anything in the email table. Our goal is to get first the object id of the contact we are adding and we wanted multiple emails in different table in data base that is connected to one object id under contact table, please take a look at my logic behind this.

This is the logic under the icon for the repeater block so the user can input lot of emails under her id. The one in the red box is the items being repeated and the plus icon on the left is where the logic block located


image

This is my logic under submit button. the contact id under email table is the object id from contact table

Can you tell me what can I do so that it will appear in the database? Thank you!

Regards,
Marj

Hi @Marjorie_Cal

Try to debug what the CreateObject returns for the Email table using the Print block.
I assume the Get repeater data contains a list of items not a specific object

Regards,
Vlad

Hello @vladimir-upirov ,

I’ve done that and yes, it’s showing null when printed in the console.

Atleast, is there any way that we can use a feature like that without using repeater? it is when the user have multiple emails and we wanted to put it in our email table in the database and the emails have the object id of the user

if your form is inside the repeater item there should be RepeaterItem Data context block which references to the item in the list