Millisecond Forums

Radiobuttons

https://forums.millisecond.com/Topic27083.aspx

By Anne123456789 - 5/13/2019

Hi all, 

I was wondering if you could help me with the radiobuttons code. 

I have one survey question to present, and I would like that when a participant answers the question, the screen automatically changes to the next trial (automatic submission of response) instead of the participant having to click on the "Next" button.
Does anyone know if this is possible and how to do this? 

I would very much appreciate your help. 

Best, Anne
By Dave - 5/13/2019

Anne123456789 - Tuesday, May 14, 2019
Hi all, 

I was wondering if you could help me with the radiobuttons code. 

I have one survey question to present, and I would like that when a participant answers the question, the screen automatically changes to the next trial instead (automatic submission of response) of the participant having to click on the "Next" button.
Does anyone know if this is possible and how to do this? 

I would very much appreciate your help. 

Best, Anne

This is not possible with a <survey>/<surveypage> with <radiobuttons> setup. What you can do instead is use <likert> trials:

<block exampleblock>
/ trials = [1-4 = examplelikert]
</block>

<likert examplelikert>
/ stimulusframes = [1=examplequestion]
/ anchors=[1="good"; 3="mediocre"; 5="bad"]
/ anchorwidth = 8%
/ numpoints = 5
/ position = (50%, 75%)
</likert>

<text examplequestion>
/ items = exampleitems
/ select = sequence
</text>

<item exampleitems>
/ 1 = "Question A"
/ 2 = "Question B"
/ 3 = "Question C"
/ 4 = "Question D"
</item>


By Anne123456789 - 5/14/2019

Dave - Tuesday, May 14, 2019
Anne123456789 - Tuesday, May 14, 2019
Hi all, 

I was wondering if you could help me with the radiobuttons code. 

I have one survey question to present, and I would like that when a participant answers the question, the screen automatically changes to the next trial instead (automatic submission of response) of the participant having to click on the "Next" button.
Does anyone know if this is possible and how to do this? 

I would very much appreciate your help. 

Best, Anne

This is not possible with a <survey>/<surveypage> with <radiobuttons> setup. What you can do instead is use <likert> trials:

<block exampleblock>
/ trials = [1-4 = examplelikert]
</block>

<likert examplelikert>
/ stimulusframes = [1=examplequestion]
/ anchors=[1="good"; 3="mediocre"; 5="bad"]
/ anchorwidth = 8%
/ numpoints = 5
/ position = (50%, 75%)
</likert>

<text examplequestion>
/ items = exampleitems
/ select = sequence
</text>

<item exampleitems>
/ 1 = "Question A"
/ 2 = "Question B"
/ 3 = "Question C"
/ 4 = "Question D"
</item>



Thank you very much for your quick help Dave!