Skip to content
Discussion options

You must be logged in to vote

Hi all - just an update on this, I was able to solve it! With jsPsych 6.3.1 button presses are now coded as data.response rather than data.button_pressed. Additionally, in my conditional function I needed to have separate filters for the filter tag for the trials I was using to screen for responses ({test_part: 'VOO Screen'}) and then for further counting the number of correct responses ({correct: true}).

I have copied my code below in case anyone else has a similar issue.

  var voo_practice_b = {
        type: 'html-button-response',
        choices: ['Teacher','Minister','Lamp','Poet'],
        prompt: '<p style="text-align: centre">'+
            'Which word is the odd one out?<br><br>…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@becky-gilbert
Comment options

@becky-gilbert
Comment options

@acer-helia
Comment options

Answer selected by acer-helia
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