Form submit response

Hi again,

How can i access the data of an API action triggered by a form submit?

newProjectForm is linked to newProject server action. The api will do various tasks and at the end get the ID of the project that was just created and return it with a DB query. Everything works fine but i can’t seem to be able to access the id like it would be possible with a serverconnect.

Thank you!

Make sure you have something to output in your newProject server action.
Then apply some dynamic text or anything you want from this form - response value.

You don’t need to parse.
Just click on Data Binding - Find needed form - and use Data section - there you should see all your output variables.

2 Likes

Yes i found it just after :slight_smile:

Thanks for your time