Skip to content
Discussion options

You must be logged in to vote

Adapting the method found in #1699 it seems that I can do the following:

var jsPsych = initJsPsych({
   on_finish: function() {
       demo_data = jsPsych.data.get().filter({trial_type: 'survey-html-form'}).values()[0].response;
       jsPsych.data.addProperties({
            test_date: demo_data.test_date,
            experimenter_name: demo_data.experimenter_name
       });
     jsPsych.data.displayData();
}});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@becky-gilbert
Comment options

Answer selected by becky-gilbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants