Continue an Incomplete Survey

Edit in →

Respondents may not complete your survey in a single session. In this case, you can restore their answers from the previous session next time they get to the survey. Incomplete results can be loaded from your database or the browser's localStorage. This demo shows how to save and restore incomplete survey results and the last visited page from localStorage. To test this functionality, answer a couple of questions and reload the page. Your answers should persist. Read more...

Themes
Color palette
Question appearance
Sorry, we can't retrieve the data from server. Please comeback later.

Respondents may not complete your survey in a single session. In this case, you can restore their answers from the previous session next time they get to the survey. Incomplete results can be loaded from your database or the browser's localStorage. This demo shows how to save and restore incomplete survey results and the last visited page from localStorage. To test this functionality, answer a couple of questions and reload the page. Your answers should persist.

To save incomplete results, implement a function that sends them to your server or saves them in localStorage (see the saveSurveyData function in code). Call this function within SurveyModel's onValueChanged and onCurrentPageChanged event handlers to save the results when users change a question value or switch between pages. If you use localStorage, you also need to delete survey results from it when the survey is completed because they no longer need to be restored. Handle the onComplete event for this purpose.

To restore survey results, retrieve them from your server or localStorage and assign them to SurveyModel's data property. If you also saved the page number from which a respondent left off, assign it to SurveyModel's currentPageNo property.

Your cookie settings

We use cookies on our site to make your browsing experience more convenient and personal. In some cases, they are essential to making the site work properly. By clicking "Accept All", you consent to the use of all cookies in accordance with our Terms of Use & Privacy Statement. However, you may visit "Cookie settings" to provide a controlled consent.

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.