Is there a way to SAVE a form before submission and AUTOSAVE if the form is left idle

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2015 06:43 AM
There has been an expressed need to SAVE a catalog form and its contents just in case the customer that is submitting a request needs to come back to the form at a later time.
In addition, can the form be setup to AutoSave including all of the contents if the form is left idle for a specific amount of time.
What is the best way to handle this?
Thanks,
Karen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2015 07:03 AM
If this were my requirement, I'd approach it something like this (and this is just off the cuff, I have not tried it):
- Create new table that holds all the variable values
- onLoad of the item, have a client script that writes via AJAX the item and the user
- onChange of each variable, have an AJAX call that writes the value to the new table
- onSubmit of the form, check this table and delete any record that matches what was just submitted
- amend the onLoad to check the table for a record that already exist; if it does, populate the fields with the values stored in the table and then use that record to the new values, else create a new record.
Something like that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2017 09:08 AM
Hi Karen and All,
Feel free to use below share utility for Autosaving the forms. Please provide your thoughts/suggestions/feedback/reviews. Thank you.