Are you talking about displaying stored Formulate form submissions on the frontend of your website (rather than in the back office)? That is not explicitly supported, but you could get something working.
That gets the values from the database and returns an anonymous object, which then gets serialized to JSON and used by JavaScript to display the submissions.
How can I retrieve and view a record?
Hi how can i work with the records saved through the formulate. Please give an example. I need to display them on the page
Are you talking about displaying stored Formulate form submissions on the frontend of your website (rather than in the back office)? That is not explicitly supported, but you could get something working.
Take a look at this
GetSubmissions
method: https://github.com/rhythmagency/formulate/blob/4f0c198387dc7bf97e6b4ce2fff2a526b2af3d3d/src/formulate.app/Controllers/StoredDataController.cs#L90That gets the values from the database and returns an anonymous object, which then gets serialized to JSON and used by JavaScript to display the submissions.
You could also take a look at
GenerateCsvOfFormSubmissions
: https://github.com/rhythmagency/formulate/blob/4f0c198387dc7bf97e6b4ce2fff2a526b2af3d3d/src/formulate.app/Controllers/StoredDataDownloadController.cs#L164That stores the submissions for a form in a CSV file and returns a byte array of the contents of that CSV file.
is working on a reply...