I am creating a web app to onboard clients - there is an api I am using to create the data - I want to show the response of the creation both success and failure.
I believe I need to create a table for this and the hook up the table to the form I am creating to call the api. I guess the table will hold the response of the api?
I have the api resource set. I mapped for form fields to the api call in raw {{variable}} placeholders but I am not sure of the setup on the table (see image)
basically the table columns are mapped to the form using
{{ create_legal_entity_form.data.legalName }} syntax for the value - assuming I successfully create the entity and I have the response field mapped correctly - is this the right way to get the response to show the user when they create a legal entity? Or is there some other way of doing this like success handlers: