Millisecond Forums

Survey Responses

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

By mindwanderingjeremy - 2/18/2021

Hi, 

I have coded a task which presents a survey after every block. My problem is that every time the survey is presented the responses from the last block are still in the radio buttons. I would like for the responses to be cleared every time the survey is presented. Is there a command for resetting the survey responses on each block?

I am using the following format:
<radiobuttons question1>
etc. etc
</radiobuttons>

<surveypage questoin1>
/questions = [question1]
etc etc.
</surveypage>

<survey questions>
/pages = [1-4 = noreplace (question1, question2, question3, question4)]
etc.etc
</survey>

The survey is called from the /branch function in each of the blocks.

I have attached my code below incase you would like to look at it.
By Dave - 2/19/2021

mindwanderingjeremy - 2/19/2021
Hi, 

I have coded a task which presents a survey after every block. My problem is that every time the survey is presented the responses from the last block are still in the radio buttons. I would like for the responses to be cleared every time the survey is presented. Is there a command for resetting the survey responses on each block?

I am using the following format:
<radiobuttons question1>
etc. etc
</radiobuttons>

<surveypage questoin1>
/questions = [question1]
etc etc.
</surveypage>

<survey questions>
/pages = [1-4 = noreplace (question1, question2, question3, question4)]
etc.etc
</survey>

The survey is called from the /branch function in each of the blocks.

I have attached my code below incase you would like to look at it.

Run the surveypages via a <block>'s /trials, not a <survey>.
By mindwanderingjeremy - 2/19/2021

Dave - 2/19/2021
mindwanderingjeremy - 2/19/2021
Hi, 

I have coded a task which presents a survey after every block. My problem is that every time the survey is presented the responses from the last block are still in the radio buttons. I would like for the responses to be cleared every time the survey is presented. Is there a command for resetting the survey responses on each block?

I am using the following format:
<radiobuttons question1>
etc. etc
</radiobuttons>

<surveypage questoin1>
/questions = [question1]
etc etc.
</surveypage>

<survey questions>
/pages = [1-4 = noreplace (question1, question2, question3, question4)]
etc.etc
</survey>

The survey is called from the /branch function in each of the blocks.

I have attached my code below incase you would like to look at it.

Run the surveypages via a <block>'s /trials, not a <survey>.

Brilliant, thankyou Dave!