﻿<?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 5  » Bug: responseinterrupt in combination with list</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 05 Apr 2026 17:59:52 GMT</lastBuildDate><ttl>20</ttl><item><title>Bug: responseinterrupt in combination with list</title><link>https://forums.millisecond.com/Topic35279.aspx</link><description>Hi!&amp;nbsp;&lt;br/&gt;I wanted to let you know about a potential bug.&lt;br/&gt;I have a trial in which the valid response options are any of a set of pictures (they look like buttons but are picture elements).&lt;br/&gt;&lt;br/&gt;When I use the list element to store the pictures and then refer to the list in the /validresponse subcommand, I have to double-click on a picture to interrupt (end) the trial.&lt;br/&gt;In contrast, when I list each picture element separately in the /validresponse subcommand, I need only click once on a picture to interrupt (end) the trial.&lt;br/&gt;&lt;br/&gt;I don't think that it should work that way.&lt;br/&gt;&lt;br/&gt;Also, I have a question. Is there a relatively easy way to "animate" the picture element when it is clicked on (i.e., to acknowledge the mouse click)?&lt;br/&gt;&lt;br/&gt;Thank you!&lt;br/&gt;</description><pubDate>Wed, 29 Mar 2023 22:48:39 GMT</pubDate><dc:creator>Lizeroo</dc:creator></item><item><title>RE: Bug: responseinterrupt in combination with list</title><link>https://forums.millisecond.com/Topic35282.aspx</link><description>&lt;blockquote data-id="35281" class="if-quote-wrapper" unselectable="on" data-guid="1680128125227" id="if_insertedNode_1680128123494" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35281" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35281" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35281" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Liz Shulman - 3/29/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35281"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35280" class="if-quote-wrapper" unselectable="on" data-guid="1680128125227" id="if_insertedNode_1680126260856" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35280" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35280" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35280" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 3/29/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35280"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35279" class="if-quote-wrapper" unselectable="on" data-guid="1680128125227" id="if_insertedNode_1680113564487" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35279" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35279" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35279" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Liz Shulman - 3/29/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35279"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi!&amp;nbsp;&lt;br/&gt;I wanted to let you know about a potential bug.&lt;br/&gt;I have a trial in which the valid response options are any of a set of pictures (they look like buttons but are picture elements).&lt;br/&gt;&lt;br/&gt;When I use the list element to store the pictures and then refer to the list in the /validresponse subcommand, I have to double-click on a picture to interrupt (end) the trial.&lt;br/&gt;In contrast, when I list each picture element separately in the /validresponse subcommand, I need only click once on a picture to interrupt (end) the trial.&lt;br/&gt;&lt;br/&gt;I don't think that it should work that way.&lt;br/&gt;&lt;br/&gt;Also, I have a question. Is there a relatively easy way to "animate" the picture element when it is clicked on (i.e., to acknowledge the mouse click)?&lt;br/&gt;&lt;br/&gt;Thank you!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35279"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;(1) Can you provide example code illustrating the issue? Ii's not entirely clear what "[w]hen I use the list element to store the pictures and then refer to the list in the /validresponse subcommand" means, this could look a number of different ways.&lt;br/&gt;&lt;br/&gt;(2) Regarding changing the image in some way to acknowledge the click, you'll want to look at using /responsemessage.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35280"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Here are the relevant code snippets:&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;********************************************&lt;br/&gt;********* Single Click Works ***************&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial LadderA&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ skip = [values.ageyr &amp;gt;17]&lt;br/&gt;/ pretrialpause = 500&lt;br/&gt;/ inputdevice = mouse&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ stimulusframes = [1=ladderAfam, skip&lt;br/&gt;rung01, rung02, rung03, rung04, rung05, &lt;br/&gt;rung06, rung07, rung08, rung09, rung10]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ validresponse = (picture.skip,&lt;br/&gt;picture.rung01, &lt;br/&gt;picture.rung02, &lt;br/&gt;picture.rung03, &lt;br/&gt;picture.rung04, &lt;br/&gt;picture.rung05, &lt;br/&gt;picture.rung06, &lt;br/&gt;picture.rung07, &lt;br/&gt;picture.rung08, &lt;br/&gt;picture.rung09, &lt;br/&gt;picture.rung10&lt;br/&gt;)&lt;br/&gt;/ responseinterrupt = immediate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ timeout = 240000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.LadderSocial;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.ladderAresponse = trial.LadderA.response&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;********* Using a list to store the validresponse pictures...&lt;br/&gt;********* Display is identical***************&lt;br/&gt;********* But a double-click is required to end the trial &lt;br/&gt;********* I believe the data are recoded on the first click, but the response doesn't interrupt the trial until you double-click.&lt;br/&gt;&lt;br/&gt;&amp;lt;list rungs&amp;gt;&lt;br/&gt;/items = (picture.skip&lt;br/&gt;picture.rung01&lt;br/&gt;picture.rung02 &lt;br/&gt;picture.rung03 &lt;br/&gt;picture.rung04 &lt;br/&gt;picture.rung05 &lt;br/&gt;picture.rung06 &lt;br/&gt;picture.rung07 &lt;br/&gt;picture.rung08 &lt;br/&gt;picture.rung09 &lt;br/&gt;picture.rung10)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial LadderA&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ skip = [values.ageyr &amp;gt;17]&lt;br/&gt;/ pretrialpause = 500&lt;br/&gt;/ inputdevice = mouse&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ stimulusframes = [1=ladderAfam, skip&lt;br/&gt;rung01, rung02, rung03, rung04, rung05, &lt;br/&gt;rung06, rung07, rung08, rung09, rung10]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ validresponse = (list.rungs)&lt;br/&gt;/ responseinterrupt = immediate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ timeout = 240000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.LadderSocial;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.ladderAresponse = trial.LadderA.response&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35281"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thank you for the example. I think there is a misconception here.&lt;br/&gt;&lt;br/&gt;This&lt;br/&gt;&lt;br/&gt;&amp;lt;trial LadderA&amp;gt;&amp;nbsp; &lt;br/&gt;/ skip = [values.ageyr &amp;gt;17]&lt;br/&gt;/ pretrialpause = 500&lt;br/&gt;/ inputdevice = mouse&amp;nbsp; &lt;br/&gt;/ stimulusframes = [1=ladderAfam, skip&lt;br/&gt;rung01, rung02, rung03, rung04, rung05,&lt;br/&gt;rung06, rung07, rung08, rung09, rung10]&amp;nbsp;&amp;nbsp;  &lt;br/&gt;&lt;strong&gt;/ validresponse = (list.rungs)&lt;/strong&gt;&lt;br/&gt;/ responseinterrupt = immediate&amp;nbsp; &lt;br/&gt;/ timeout = 240000&amp;nbsp;&amp;nbsp;  &lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp; trial.LadderSocial;&lt;br/&gt;&amp;nbsp; values.ladderAresponse = trial.LadderA.response&lt;br/&gt;&amp;nbsp; ]&lt;br/&gt;&amp;lt;/trial&amp;gt; &lt;br/&gt;&lt;br/&gt;is not, in fact, equivalent to&lt;br/&gt;&lt;br/&gt;&amp;lt;trial LadderA&amp;gt;&amp;nbsp; &lt;br/&gt;/ skip = [values.ageyr &amp;gt;17]&lt;br/&gt;/ pretrialpause = 500&lt;br/&gt;/ inputdevice = mouse&amp;nbsp; &lt;br/&gt;/ stimulusframes = [1=ladderAfam, skip&lt;br/&gt;rung01, rung02, rung03, rung04, rung05,&lt;br/&gt;rung06, rung07, rung08, rung09, rung10]&amp;nbsp;&amp;nbsp;  &lt;br/&gt;&lt;strong&gt;/ validresponse = (picture.skip,&lt;br/&gt;picture.rung01,&lt;br/&gt;picture.rung02,&lt;br/&gt;picture.rung03,&lt;br/&gt;picture.rung04,&lt;br/&gt;picture.rung05,&lt;br/&gt;picture.rung06,&lt;br/&gt;picture.rung07,&lt;br/&gt;picture.rung08,&lt;br/&gt;picture.rung09,&lt;br/&gt;picture.rung10&lt;br/&gt;)&lt;/strong&gt;&lt;br/&gt;/ responseinterrupt = immediate&amp;nbsp; &lt;br/&gt;/ timeout = 240000&amp;nbsp;&amp;nbsp;  &lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp; trial.LadderSocial;&lt;br/&gt;&amp;nbsp; values.ladderAresponse = trial.LadderA.response&lt;br/&gt;&amp;nbsp; ]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;/ validresponse = (list.rungs) just means the list is queried when some response occurs. That does not mean the list will happen to return the object that happens to match the response at that point. In other words, &lt;br/&gt;&lt;br/&gt;/ validresponse = (list.rungs) does not expand to /validresponse = (picture.skip, picture.rung01, picture.rung02, ..., picture.rung10)&lt;br/&gt;&lt;br/&gt;If you wanted to do that, you would have to actually reference the specific items on the list. I.e.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;list mylist&amp;gt;&lt;br/&gt;/ items = (text.a, text.b, text.c)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ posttrialpause = 500&lt;br/&gt;/ stimulusframes = [1=a,b,c]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (list.mylist.items.1, list.mylist.items.2, list.mylist.items.3)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text a&amp;gt;&lt;br/&gt;/ items = ("A")&lt;br/&gt;/ position = (45%, 50%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text b&amp;gt;&lt;br/&gt;/ items = ("B")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text c&amp;gt;&lt;br/&gt;/ items = ("C")&lt;br/&gt;/ position = (55%, 50%)&lt;br/&gt;&amp;lt;/text&amp;gt;[/code]&lt;br/&gt;</description><pubDate>Wed, 29 Mar 2023 22:48:39 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Bug: responseinterrupt in combination with list</title><link>https://forums.millisecond.com/Topic35281.aspx</link><description>&lt;blockquote data-id="35280" class="if-quote-wrapper" unselectable="on" data-guid="1680126261434" contenteditable="false" id="if_insertedNode_1680126260856"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35280" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35280" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35280" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 3/29/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35280"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35279" class="if-quote-wrapper" unselectable="on" data-guid="1680126261434" id="if_insertedNode_1680113564487" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35279" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35279" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35279" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Liz Shulman - 3/29/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35279"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi!&amp;nbsp;&lt;br/&gt;I wanted to let you know about a potential bug.&lt;br/&gt;I have a trial in which the valid response options are any of a set of pictures (they look like buttons but are picture elements).&lt;br/&gt;&lt;br/&gt;When I use the list element to store the pictures and then refer to the list in the /validresponse subcommand, I have to double-click on a picture to interrupt (end) the trial.&lt;br/&gt;In contrast, when I list each picture element separately in the /validresponse subcommand, I need only click once on a picture to interrupt (end) the trial.&lt;br/&gt;&lt;br/&gt;I don't think that it should work that way.&lt;br/&gt;&lt;br/&gt;Also, I have a question. Is there a relatively easy way to "animate" the picture element when it is clicked on (i.e., to acknowledge the mouse click)?&lt;br/&gt;&lt;br/&gt;Thank you!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35279"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;(1) Can you provide example code illustrating the issue? Ii's not entirely clear what "[w]hen I use the list element to store the pictures and then refer to the list in the /validresponse subcommand" means, this could look a number of different ways.&lt;br/&gt;&lt;br/&gt;(2) Regarding changing the image in some way to acknowledge the click, you'll want to look at using /responsemessage.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35280"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Here are the relevant code snippets:&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;********************************************&lt;br/&gt;********* Single Click Works ***************&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial LadderA&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ skip = [values.ageyr &amp;gt;17]&lt;br/&gt;/ pretrialpause = 500&lt;br/&gt;/ inputdevice = mouse&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ stimulusframes = [1=ladderAfam, skip&lt;br/&gt;rung01, rung02, rung03, rung04, rung05, &lt;br/&gt;rung06, rung07, rung08, rung09, rung10]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ validresponse = (picture.skip,&lt;br/&gt;picture.rung01, &lt;br/&gt;picture.rung02, &lt;br/&gt;picture.rung03, &lt;br/&gt;picture.rung04, &lt;br/&gt;picture.rung05, &lt;br/&gt;picture.rung06, &lt;br/&gt;picture.rung07, &lt;br/&gt;picture.rung08, &lt;br/&gt;picture.rung09, &lt;br/&gt;picture.rung10&lt;br/&gt;)&lt;br/&gt;/ responseinterrupt = immediate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ timeout = 240000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.LadderSocial;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.ladderAresponse = trial.LadderA.response&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;********* Using a list to store the validresponse pictures...&lt;br/&gt;********* Display is identical***************&lt;br/&gt;********* But a double-click is required to end the trial &lt;br/&gt;********* I believe the data are recoded on the first click, but the response doesn't interrupt the trial until you double-click.&lt;br/&gt;&lt;br/&gt;&amp;lt;list rungs&amp;gt;&lt;br/&gt;/items = (picture.skip&lt;br/&gt;picture.rung01&lt;br/&gt;picture.rung02 &lt;br/&gt;picture.rung03 &lt;br/&gt;picture.rung04 &lt;br/&gt;picture.rung05 &lt;br/&gt;picture.rung06 &lt;br/&gt;picture.rung07 &lt;br/&gt;picture.rung08 &lt;br/&gt;picture.rung09 &lt;br/&gt;picture.rung10)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial LadderA&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ skip = [values.ageyr &amp;gt;17]&lt;br/&gt;/ pretrialpause = 500&lt;br/&gt;/ inputdevice = mouse&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ stimulusframes = [1=ladderAfam, skip&lt;br/&gt;rung01, rung02, rung03, rung04, rung05, &lt;br/&gt;rung06, rung07, rung08, rung09, rung10]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ validresponse = (list.rungs)&lt;br/&gt;/ responseinterrupt = immediate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ timeout = 240000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.LadderSocial;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.ladderAresponse = trial.LadderA.response&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;br/&gt;&amp;lt;/trial&amp;gt;</description><pubDate>Wed, 29 Mar 2023 21:51:21 GMT</pubDate><dc:creator>Lizeroo</dc:creator></item><item><title>RE: Bug: responseinterrupt in combination with list</title><link>https://forums.millisecond.com/Topic35280.aspx</link><description>&lt;blockquote data-id="35279" class="if-quote-wrapper" unselectable="on" data-guid="1680113565569" id="if_insertedNode_1680113564487" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35279" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="35279" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="35279" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Liz Shulman - 3/29/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35279"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi!&amp;nbsp;&lt;br/&gt;I wanted to let you know about a potential bug.&lt;br/&gt;I have a trial in which the valid response options are any of a set of pictures (they look like buttons but are picture elements).&lt;br/&gt;&lt;br/&gt;When I use the list element to store the pictures and then refer to the list in the /validresponse subcommand, I have to double-click on a picture to interrupt (end) the trial.&lt;br/&gt;In contrast, when I list each picture element separately in the /validresponse subcommand, I need only click once on a picture to interrupt (end) the trial.&lt;br/&gt;&lt;br/&gt;I don't think that it should work that way.&lt;br/&gt;&lt;br/&gt;Also, I have a question. Is there a relatively easy way to "animate" the picture element when it is clicked on (i.e., to acknowledge the mouse click)?&lt;br/&gt;&lt;br/&gt;Thank you!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35279"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;(1) Can you provide example code illustrating the issue? Ii's not entirely clear what "[w]hen I use the list element to store the pictures and then refer to the list in the /validresponse subcommand" means, this could look a number of different ways.&lt;br/&gt;&lt;br/&gt;(2) Regarding changing the image in some way to acknowledge the click, you'll want to look at using /responsemessage.&lt;br/&gt;</description><pubDate>Wed, 29 Mar 2023 18:15:38 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>