Setting Row/Cell Value Using Action Function

Hi all,

I am a little stuck with how to use the action to set the row value of an item.
For context on a page I have a form set up whereby I will am getting users to submit all their details → when they click submit it will write to a table and take them to a new page (all working well so far), this new page is where they can select how long they wish for their advert to shown for (1 month, 2 months, 3 months etc) → I set this up using an action, Action 1- direct them to a payment link using stripe (external). and Action 2 - set column values as ‘1 month or 2 months’ etc depending which they select (this is the bit where I become stuck)
The payment link bit is working well however when the choose the listing duration it only writes to the first row in the table - meaning it doesn’t hold against the correct row.
Just wondering if there is a way to have infomration from two different pages direct to the same table whilst also directing users to an exertnal link.
For more info - page 1 is a normal form page with submit button, page 2 is a page that has 5 action rows on it - the action rows have an action set up behind that is the set values and link to payment.

Thank you!

Are you using a relation to that table? If so, is the box checked that allows multiple results to be returned from that relation?

Is there a reason you don’t combine them into just one step? I assume the first step writes a row to the adverts table, the second one is just an extension of that to choose how long it would be shown?