Skip to content
Discussion options

You must be logged in to vote

I think the autocomplete parameter has a different purpose than what you need (see this link: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete). The behavior it enables is what you typically see on address forms where you fill out your name and it will automatically complete your address as well.

To achieve what you need, you can adjust the code of the plugin if you are comfortable with that (if not let me know and I can send an adjusted plugin file). If you go to the section where the options string for the radio input field is defined, add the following code after line 150 (I am assuming jsPsych 7.2 btw):

This will add the checked attribute to the first radio b…

Replies: 1 comment 1 reply

Comment options

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

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