Skip to content

Commit

Permalink
add surveyJS verison
Browse files Browse the repository at this point in the history
  • Loading branch information
becky-gilbert committed Apr 22, 2024
1 parent 8ec5189 commit 115209a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/plugins/survey.md
Expand Up @@ -2,6 +2,8 @@

Current version: 1.0.0. [See version history](https://github.com/jspsych/jsPsych/blob/main/packages/plugin-survey/CHANGELOG.md).

SurveyJS version: 1.9.138

This plugin is a wrapper for the [**SurveyJS form library**](https://surveyjs.io/form-library/documentation/overview). It displays survey-style questions across one or more pages. You can mix different question types on the same page, and participants can navigate back and forth through multiple survey pages without losing responses. SurveyJS provides a large number of built-in question types, response validation options, conditional display options, and other useful features for building complex surveys. See the [Building Surveys in jsPsych](../overview/building-surveys.md) page for a more detailed list of features.

With SurveyJS, surveys can be defined using a JSON string, a JavaScript function, or a combination of both. The jsPsych `survey` plugin provides parameters that accept these methods of constructing a SurveyJS survey, and passes them into SurveyJS. The fact that this plugin just acts as a wrapper means you can take advantage of all of the SurveyJS features, and copy/paste directly from SurveyJS examples into the plugin's `survey_json` parameter (for JSON configuration) or `survey_function` parameter (for JavaScript code).
Expand Down

0 comments on commit 115209a

Please sign in to comment.