-
Goal:
I am trying to create a checklist form which cannot be completed in one go. Sometimes you need to come back to the form when you got the required information. -
Steps:
Created a form using the form builder. It only option to submit the form and not save as a draft -
Details:
I would like a capability to save a form as draft and close the form. Reopen the form which would pre-polulate the previously added info. You should be able to make changes to the form until it has been submitted. Is it something possible or I have to build it my own solution?
Hi there @codermind,
I'm not sure you can do this with stand alone forms. However you can create a public app (assuming it has to be public but it doesn't really matter) with a form component and have a save draft button that submits responses to local storage. By doing so you can have a set of rules in javascript to verify if local storage has any saved info and populate your form's default values with this info.
Happy to provide more guidance if you think this can be a solution for your user case
This is a very interesting idea. As the forms save to a database, maybe have a form field that is a checkbox that is: "Save as Draft". Then when you link to the form from an outside source, you can query the Retool database to get the saved draft requried and pass the fields as query params. I know the devil is in the details, but this is sort of how I would think about it.
To add on a bit, if you create a "draft" table that has all of the form info saved for later completion, you might want to include a field for userId that would allow you to re-query for the user's entered draft. Devil definitely in the details of the use for this.