Failing to Pass Posted key id value inside SPA

I have a multi-step form to insert a new record.

After the user submits the form and it is saved to the database table the next step that appears is to show a read-only table confirming that the submitted form is now saved in the database.

I don’t want to pass the value in the url that I’m using as a query filter to select one record by its unique key .
But everything “Wappler” I have tried from docs just gives me a blank table when the query runs because it is missing that key id.

This key_id changes with each record submitted and I’m not using the autoincrement key.

I have tried to do all of this inside the API that inserts the record.
After the insert action runs then I added a
Set filter $value = the just-posted field $value
Next and final API step is the query to retrieve the same record using my filter variable as the SELECT * WHERE condition.

I have tried all kinds of methods with API s and Library Actions.
Then I couldn’t access the Library action after setting it up from the docs.

This is normally easy when I just used PHP functions and called them where I needed them on a page.
But the “flow” in Wappler is eluding me here.

Community Page
Last updated: