﻿<?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" not working please HELP</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 26 Sep 2026 22:05:26 GMT</lastBuildDate><ttl>20</ttl><item><title>"/iscorrectresponse" not working please HELP</title><link>https://forums.millisecond.com/Topic13845.aspx</link><description>&lt;p class="MsoNormal"&gt;&lt;font size="2"&gt;&lt;strong&gt;Problem:&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font size="2"&gt;I have created an audio and visual (non-audio) version ofone experiment. The problem concerns my “example trial” phase. During thisphase, participants are given feedback on whether they answered the itemcorrectly or incorrectly. Inquisit is processing this phase correctly for theVISUAL version such that correct feedback is provided (e.g., ‘correct’ forcorrect responses and ‘error’ for incorrect responses). However, for the AUDIOversion, Inquisit is providing ‘error’ (or incorrect) feedback to participantsregardless of whether they answered correctly or incorrectly. &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font size="2"&gt;Both Syntax are identical with the exception of sound syntaxfor the AUDIO version, and attached for your reference. I’m pretty sure thisproblem is due to my syntax being incorrectly written.&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Please help and thanksheaps!&lt;div&gt;Sandra&lt;/div&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br/&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;</description><pubDate>Thu, 24 Jul 2014 20:32:44 GMT</pubDate><dc:creator>Sandra589</dc:creator></item><item><title>RE: "/iscorrectresponse" not working please HELP</title><link>https://forums.millisecond.com/Topic13846.aspx</link><description>&amp;lt;trial examples&amp;gt;&lt;br/&gt;/ stimulusframes = [1=examplestrials, true, false]&lt;br/&gt;/ validresponse = (true, false)&lt;br/&gt;/ correctmessage = (correct, 500)&lt;br/&gt;/ errormessage = (error, 500)&lt;br/&gt;/ iscorrectresponse = [trial.examples.response == getitem(item.exampleanswers,&lt;strong&gt; text.examples.selectedindex&lt;/strong&gt;)]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;You determine the correct response based on the selected item for &amp;lt;text examples&amp;gt;. However, you do *not* actually display that &amp;lt;text&amp;gt; element in the &amp;lt;trial&amp;gt; (cf. the /stimulusframes attribute). Hence no selection ever occurs for that element and its selectedindex is useless.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;You'll want to do&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;trial examples&amp;gt;&lt;br/&gt;/ stimulusframes = [1=&lt;strong&gt;examplestrials&lt;/strong&gt;, true, false]&lt;br/&gt;/ validresponse = (true, false)&lt;br/&gt;/ correctmessage = (correct, 500)&lt;br/&gt;/ errormessage = (error, 500)&lt;br/&gt;/ iscorrectresponse = [trial.examples.response == getitem(item.exampleanswers,&lt;strong&gt; sound.examplestrials.selectedindex&lt;/strong&gt;)]&lt;br/&gt;&amp;lt;/trial&lt;/div&gt;&lt;br/&gt;</description><pubDate>Thu, 24 Jul 2014 20:32:44 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>