Application forms to save and continue later

I want to create a grant application where you go login start the application then save and continue later. Can they go in again and start a new application once they submit a completed application?

Hello Kristine,
This is possible to do but would require a few tricky things. On login get the userID, and check if the userID is already in the collection that you are storing the information from the form. After this two scenarios can happen:

  1. The userId is already stored in the collection, this means that the user already has some information in the collection and you would want to update the information instead of insert it. In this case you would also want to display the already collected information in the input fields of the form so the user sees his previously input information.
  2. The userId is not found after querying the collection and in this case you would want to insert instead of update. This is the default method.
    A few notes:
    Since you want to save the information for a later time for the user to continue. It is possible to save the data onBlur more information about blur here: https://developer.mozilla.org/en-US/docs/Web/Events/blur , another less efficient way to do it is onKeyPress, more information on that here: https://developer.mozilla.org/en-US/docs/Web/Events/keypress . Choose an event that, when that event happens, the information gets saved to the database. We don’t want to save too often for performance, but at the same time we want to save regularly since they will not have a save button for each field.
    Another solution I would recommend is using wix-storage(wix-storage-frontend - Velo API Reference - Wix.com), which is local storage, instead of saving to the database, which is external storage. This is due to the fact that saving it locally is easier since it does not require the user to be logged in, and also due to the growth of the website, there will be a lot of partial/junk data.
    Getting userID: https://www.wix.com/code/reference/wix-users.html#currentUser
    Saving/Updating/Inserting to database using code: https://www.wix.com/code/reference/wix-data.html#save
    Best, Majd

I will look into all your suggestions. I am new to the development side and look forward to learning what WiX has to offer. Thank you!

Hi Kristine - this is exactly what my client is asking for. Were you able to build it?

Thanks

David