| Reference | Downloads | Github

Save self-generated data to server

I’m still having problems figuring out how to save data. I just want to be able to create an array, like data = [], and populate it throughout the study.

I just want to code a study from scratch, just plain HTML/Javascript. I don’t want to have to figure out how to get Psychopy’s survey builder to do what I want it to do, or jsPsych, or anything like that. I’ve tried creating a simple experiment with those so I can just keep and re-use whatever code is used to save data, but this has proved to be a nightmare. All I want to do save the data on the server.

Hey! Below is an approach that would require you to understand a modicum of PsychoJS, but for the rest you’re free to setup an HTML page any way you’d like. The demos show how to embed HTML into PsychoJS and pipe the output through PsychoJS:

Thank you! I will give this a try ASAP

Aight, good luck!