Load a Survey from SurveyJS Demo Service

Edit in →

SurveyJS Demo Service allows you to create a test survey and store its JSON schema in a database that uses our Azure storage. You can also load surveys from the database, complete them, and send the results back to the service to ensure that your surveys work correctly. This demo shows how to configure SurveyJS Form Library so that it will work with the service.

SurveyJS Demo Service is meant as a demonstration of what you can build with SurveyJS products. SurveyJS assumes no responsibility for any consequence of misusing or violating any sensitive data communicated via the service. In real-world applications, we strongly recommend storing survey results and JSON schemas in your own database.

Follow the steps below to start using SurveyJS Demo Service:

  1. Log in or register on the SurveyJS website.
  2. Create a new survey.
  3. Copy the Survey ID and Post ID: Survey ID and Post ID
  4. Assign the IDs to the surveyId and surveyPostId properties (see the json.js file).
  5. Implement a function that loads a survey JSON schema with a specified surveyId and a function that sends survey results to the service with a specified surveyPostId (see the loadSurvey() and postResults() functions in code).
  6. Call the loadSurvey() function after you instantiate a SurveyModel and call the postResults() function within the onComplete event handler.

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.