Need guidance on behavior of Update Records using Form Repeater

Hello Guys,

I have followed this tutorial to update records using Form Repeater.

What happens each time I update or add new record to the form is, all the IDs related to those records are updated to new ones.

Is this the normal behavior of updating using form repeater or I am doing it incorrectly?

Is it possible to keep the IDs same when the record is updated or a new record added?

Yes, this is the expected behavior. If you need to maintain the id's you can remove the sub table from the parent update, and repeat over the POST values to update each individually.

Thanks @mebeingken