I am struggling to find a way to upload the data from a table to a stateless form without creating a new regular form to pass the data. Is there a simpler way to persist the data?
This is what I planned to do: I would use a 'Custom Action' that is selected from the dropdown against the record to edit. This calls a function to which I can pass the record data through the arguement to the function. Then I want to use the existing data to populate the Stateless form, but I can't see how to do this without creating a new regular form and then populating it with the data so that it persists when the stateless form is called. (I would then fetch the data from the regular form in to the stateless form On Load). Alternatively, I could use a single field form to store the record ID so that I can load it to the stateless form and then use that to pull the rest of the fields in the original table.
Is there a way of doing this without the need to create a regular form? Is there a way to persist a variable without using the form?
It seems you can't 'push' data to a stateless from from a function.
Thanks for any help or advice.