﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » /iscorrectresponse in surveypage</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 18 Sep 2026 16:42:59 GMT</lastBuildDate><ttl>20</ttl><item><title>/iscorrectresponse in surveypage</title><link>https://forums.millisecond.com/Topic18871.aspx</link><description>Hi! It’s my first time programming an experiment and I’m having some troubles with /iscorrectresponse.&lt;br/&gt; I have a surveypage with a picture and two questions, a checkbox and a radiobuttons.&lt;br/&gt; I would like to define the correct answers in the practice part with an error-correct message, but I don’t understand how to do it. &lt;br/&gt; I need that the correctmessage appears only when there are correct answers in both questions. So only if participants reply “no” in checkboxes AND “100%” in radiobuttons. I have tried several combinations in /iscorrectresponse with different expressions but it seems that the correct answers are always wrong!&lt;br/&gt; Could you help me please?&lt;br/&gt; Thank you in advance!&lt;br/&gt; Francesca&lt;br/&gt; &lt;br/&gt; &amp;lt;checkboxes didyousee_practice&amp;gt;&lt;br/&gt; / caption="Did you see this person at the beginning?"&lt;br/&gt; / required = true&lt;br/&gt; / options=("yes", "no")&lt;br/&gt; /position = (10, 10)&lt;br/&gt; /range = (1,1)&lt;br/&gt; / correctresponse = ("no")&lt;br/&gt; &amp;lt;/checkboxes&amp;gt;&lt;br/&gt; &lt;br/&gt; &amp;lt;radiobuttons howmuch_practice&amp;gt;&lt;br/&gt; / caption="How certain are you? I am ...% certain"&lt;br/&gt; / options=("0%", "10%", "20%", "30%", "40%", "50%", "60%", "70%", "80%", "90%", "100%")&lt;br/&gt; / required=true&lt;br/&gt; /position = (10, 30)&lt;br/&gt; / correctresponse = ("100%")&lt;br/&gt; &amp;lt;/radiobuttons&amp;gt;&lt;br/&gt; &lt;br/&gt; &amp;lt;surveypage practice_item&amp;gt;&lt;br/&gt; /stimulusframes = [1 = practice_item]&lt;br/&gt; /questions = [1-2= sequence (didyousee_practice, howmuch_practice)]&lt;br/&gt; /ontrialbegin = [picture.practice_item]&lt;br/&gt; /itemspacing = 2&lt;br/&gt; /recorddata = true&lt;br/&gt; /iscorrectresponse = ???&lt;br/&gt; / correctmessage = true(good, 3000)&lt;br/&gt; / errormessage = true(wrong, 10000)&lt;br/&gt; &amp;lt;/surveypage&amp;gt;&lt;br/&gt; &lt;br/&gt; &amp;lt;text wrong&amp;gt;&lt;br/&gt; / items = ("WRONG!&lt;br/&gt; This person is not the girl in the presentation at the beginning of the experiment! &lt;br/&gt; The correct answer is no. I'm 100% certain of my answer")&lt;br/&gt; &amp;lt;/text&amp;gt;&lt;br/&gt; &lt;br/&gt; &amp;lt;text good&amp;gt;&lt;br/&gt; /items= ("GOOD!")&lt;br/&gt; &amp;lt;/text&amp;gt;&lt;br/&gt; &lt;br/&gt; &amp;lt;block practice_item&amp;gt;&lt;br/&gt; /preinstructions = (instructions)&lt;br/&gt; /postinstructions = (endpractice)&lt;br/&gt; /trials = [1-3 = practice_item]&lt;br/&gt; /responsemode = correct&lt;br/&gt; &amp;lt;/block&amp;gt;&lt;br/&gt;&#x3;</description><pubDate>Mon, 11 Apr 2016 12:03:09 GMT</pubDate><dc:creator>francesca92</dc:creator></item><item><title>RE: /iscorrectresponse in surveypage</title><link>https://forums.millisecond.com/Topic18880.aspx</link><description>It's working! Thank you so much!!</description><pubDate>Mon, 11 Apr 2016 12:03:09 GMT</pubDate><dc:creator>francesca92</dc:creator></item><item><title>RE: /iscorrectresponse in surveypage</title><link>https://forums.millisecond.com/Topic18873.aspx</link><description>Here's how you can define this properly:&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons didyousee_practice&amp;gt;&lt;br/&gt;/ caption="Did you see this person at the beginning?"&lt;br/&gt;/ required = true&lt;br/&gt;/ options=("yes", "no")&lt;br/&gt;/ validresponse = ("yes", "no")&lt;br/&gt;/ correctresponse = ("no")&lt;br/&gt;/position = (10, 10)&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons howmuch_practice&amp;gt;&lt;br/&gt;/ caption="How certain are you? I am ...% certain"&lt;br/&gt;/ options=("0%", "10%", "20%", "30%", "40%", "50%", "60%", "70%", "80%", "90%", "100%")&lt;br/&gt;/ validresponse = ("0%", "10%", "20%", "30%", "40%", "50%", "60%", "70%", "80%", "90%", "100%")&lt;br/&gt;/ correctresponse = ("100%")&lt;br/&gt;/ required=true&lt;br/&gt;/position = (10, 30)&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text practice_item&amp;gt;&lt;br/&gt;/ items = ("Person A", "Person B", "Person C")&lt;br/&gt;/ position = (50%, 30%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage practice_item&amp;gt;&lt;br/&gt;/stimulusframes = [1 = practice_item]&lt;br/&gt;/questions = [1=sequence(didyousee_practice, howmuch_practice)]&lt;br/&gt;/itemspacing = 2&lt;br/&gt;/recorddata = true&lt;br/&gt;/iscorrectresponse = [radiobuttons.howmuch_practice.response == "100%" &amp;amp;&amp;amp; radiobuttons.didyousee_practice.response == "no"]&lt;br/&gt;/ correctmessage = true(good, 3000)&lt;br/&gt;/ errormessage = true(wrong, 10000)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text wrong&amp;gt;&lt;br/&gt;/ items = ("WRONG!&lt;br/&gt;This person is not the girl in the presentation at the beginning of the experiment!&lt;br/&gt;The correct answer is no. I'm 100% certain of my answer")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text good&amp;gt;&lt;br/&gt;/items= ("GOOD!")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice_item&amp;gt;&lt;br/&gt;/trials = [1-3 = practice_item]&lt;br/&gt;/responsemode = correct&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 11 Apr 2016 09:16:54 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>