Survey Responses


Author
Message
mindwanderingjeremy
mindwanderingjeremy
New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)
Group: Forum Members
Posts: 18, Visits: 38
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 (3 views, 570.00 KB)
Dave
Dave
Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)Supreme Being (911K reputation)
Group: Administrators
Posts: 11K, Visits: 65K
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
New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)
Group: Forum Members
Posts: 18, Visits: 38
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