Skip to content
Discussion options

You must be logged in to vote

Update: I found a reasonable work-around. Instead of removing the button option and auto-advancing, I'm able to simply delay the activation of the button. This has the effect of keeping participants on a page for at least a given duration. Within the base survey-html-form, I simply added a new parameter,

button_duration: {
            type: jsPsych.plugins.parameterType.INT,
            pretty_name: 'Button activation delay',
            default: null,
            description: 'Delays button activation to ensure trial length. Button still needs pressing.'
        }

a chunk to classify button html,

if (trial.button_duration !== null) {
        html += '<input type="submit" id="jspsych-surv…

Replies: 1 comment 4 replies

Comment options

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

@ggreeley
Comment options

@nrschoen
Comment options

@steventmartinez
Comment options

Answer selected by ggreeley
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