Skip to content
Discussion options

You must be logged in to vote

In case anyone ever needs a similar solution, the code below worked (just specify the right timeline in jsPsych.init at the very end):

            // Prolific ID screen
            var prolificIDScreen = {
                type: 'survey-text',
                questions: [
                {prompt: 'Welcome to the second part of the experiment! <br> <br> Please enter your <b>Prolific ID</b> in the text box below.', 
                required: true,
                name: "prolificID"},
                ],
                button_label: 'Next',
                on_finish: function(data){
                    if(prolificIDsSquare.includes(data.response.prolificID)){
                        currentGr…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@jelkastojanov
Comment options

Comment options

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

@abhilasha-kumar
Comment options

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