Survey Responses


Author
Message
mindwanderingjeremy
mindwanderingjeremy
Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)
Group: Forum Members
Posts: 18, Visits: 43
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.
Attachments
Code.zip (182 views, 570.00 KB)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
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>.
mindwanderingjeremy
mindwanderingjeremy
Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)Associate Member (190 reputation)
Group: Forum Members
Posts: 18, Visits: 43
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!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search