Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DataPipe file saving example to survey docs/examples #3277

Open
becky-gilbert opened this issue Apr 23, 2024 · 0 comments
Open

Add DataPipe file saving example to survey docs/examples #3277

becky-gilbert opened this issue Apr 23, 2024 · 0 comments
Assignees

Comments

@becky-gilbert
Copy link
Collaborator

The new survey plugin has a "file" question type for requesting file uploads from the participant. This question type requires the user to handle the file somehow. One option is to store the file as Base64-encoded text in the jsPsych data, but this is not ideal for large files. We should add an example of how to handle a file upload with DataPipe.

For reference when creating this example:
Example code and docs: https://surveyjs.io/form-library/examples/file-upload/jquery#
File question API docs: https://surveyjs.io/form-library/documentation/api-reference/file-model

While we're at it, we could add similar DataPipe examples for other plugins/extensions that can generate a lot of data:

  • html-audio-response
  • sketchpad
  • record-video
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant