﻿<?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  » responsemessage - give feedback multiple times during single trial</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 28 Sep 2026 01:27:32 GMT</lastBuildDate><ttl>20</ttl><item><title>responsemessage - give feedback multiple times during single trial</title><link>https://forums.millisecond.com/Topic26125.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I would like participants to watch a (single) video (in below example 'learning1' item), and then have the participant respond to multiple questions throughout the video with the key presses K or L. I would like to show some brief feedback somewhere on the screen when they have pressed a button (just to indicate to them that their response is being logged). e.g. for duration of 1 sec after button press. Is this possible? It can be any feedback indication (text, image,...) and any location, as long as it indicates to them that they have responded. Meanwhile I am logging all responses and latencies within that trial (which does work in below example).&lt;br/&gt;&lt;br/&gt;I thought it would be possible with /responsemessage in the trial in the following way but it does not seem to work. &lt;br/&gt;&lt;br/&gt;&amp;lt;trial learning1&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.responses="";values.latency=""]&lt;br/&gt;/ stimulustimes = [1=learning1]&lt;br/&gt;/ isvalidresponse = [{values.responses=concat(concat(values.responses, ","), trial.learning1.response); false;}; {values.latency=concat(concat(values.latency, ","), trial.learning1.latency); false;}]&lt;br/&gt;/ validresponse = ("k", "l")&lt;br/&gt;/ responsemessage = ("k", respondedFeedback, 1000)&lt;br/&gt;/ responsemessage = ("l", respondedFeedback, 1000)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ timeout = 5400000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;respondedFeedback is currently a small image:&lt;br/&gt;&lt;br/&gt;&amp;lt;picture respondedFeedback&amp;gt;&lt;br/&gt;/ items = ("correct_symbol.jpg")&lt;br/&gt;/ position = (10, 10)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;I've tried to make the video really small just to see whether the image might be presented below the video (and therefore not visible) but this does not seem to be the case.&lt;br/&gt;&lt;br/&gt;Thanks for any help!&lt;br/&gt;</description><pubDate>Tue, 27 Nov 2018 18:10:10 GMT</pubDate><dc:creator>scollin</dc:creator></item><item><title>RE: responsemessage - give feedback multiple times during single trial</title><link>https://forums.millisecond.com/Topic26126.aspx</link><description>&lt;div data-id="26125" class="if-quote-wrapper" unselectable="on" data-guid="1543370375538"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26125" 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="26125" 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="26125" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;scollin - Tuesday, November 27, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26125"&gt;&lt;div class="if-quote-message-margin"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I would like participants to watch a (single) video (in below example 'learning1' item), and then have the participant respond to multiple questions throughout the video with the key presses K or L. I would like to show some brief feedback somewhere on the screen when they have pressed a button (just to indicate to them that their response is being logged). e.g. for duration of 1 sec after button press. Is this possible? It can be any feedback indication (text, image,...) and any location, as long as it indicates to them that they have responded. Meanwhile I am logging all responses and latencies within that trial (which does work in below example).&lt;br/&gt;&lt;br/&gt;I thought it would be possible with /responsemessage in the trial in the following way but it does not seem to work. &lt;br/&gt;&lt;br/&gt;&amp;lt;trial learning1&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.responses="";values.latency=""]&lt;br/&gt;/ stimulustimes = [1=learning1]&lt;br/&gt;/ isvalidresponse = [{values.responses=concat(concat(values.responses, ","), trial.learning1.response); false;}; {values.latency=concat(concat(values.latency, ","), trial.learning1.latency); false;}]&lt;br/&gt;/ validresponse = ("k", "l")&lt;br/&gt;/ responsemessage = ("k", respondedFeedback, 1000)&lt;br/&gt;/ responsemessage = ("l", respondedFeedback, 1000)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ timeout = 5400000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;respondedFeedback is currently a small image:&lt;br/&gt;&lt;br/&gt;&amp;lt;picture respondedFeedback&amp;gt;&lt;br/&gt;/ items = ("correct_symbol.jpg")&lt;br/&gt;/ position = (10, 10)&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;I've tried to make the video really small just to see whether the image might be presented below the video (and therefore not visible) but this does not seem to be the case.&lt;br/&gt;&lt;br/&gt;Thanks for any help!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26125"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;It's not possible with the kind of single-trial setup you have. You would have to run multiple trials instead, while the video is displayed in the background per the &amp;lt;block&amp;gt;'s /bgstim. I.e. something like this:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost16437.aspx"&gt;https://www.millisecond.com/forums/FindPost16437.aspx&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 27 Nov 2018 18:10:10 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>