﻿<?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  » Feedback message after block based on performance</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 18 Apr 2026 10:03:56 GMT</lastBuildDate><ttl>20</ttl><item><title>Feedback message after block based on performance</title><link>https://forums.millisecond.com/Topic20824.aspx</link><description>My task involves blocks of a flanker task. Each block runs through a sequence of two types of trials. I want participants who have &amp;gt;90% correct and &amp;lt;75% correct at the end of the block on one type of trial only (flankertrial) to see a message telling them to go faster or go slower (and participants who have between 75 and 90% percent correct on those trials to see nothing).&lt;br/&gt;&lt;br/&gt;I tried adding this branch to my &amp;lt;block&amp;gt;:&amp;nbsp;&lt;br/&gt;/ branch = [if (trial.flankertrial.percentcorrect &amp;lt; 90) trial.speedfeedback]&lt;br/&gt;/ branch = [if (trial.flankertrial.percentcorrect &amp;gt; 75) trial.accuracyfeedback]&lt;br/&gt;&lt;br/&gt;But it came up with an error: the element 'speedfeedback' in branch expression 'speedfeedback' is the wrong element type. I'm assuming this means I can't branch to a trial if I use it in the block element.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;My next attempt was to add a branch to my &amp;lt;trial flankertrial&amp;gt;:&amp;nbsp;&lt;br/&gt;/ branch [if (trial.flankertrial.count &amp;lt; 80) notrial] &lt;br/&gt;/ branch = [if (trial.flankertrial.count == 80 &amp;amp;&amp;amp; trial.flankertrial.percentcorrect &amp;lt; 90) trial.speedfeedback]&lt;br/&gt;/ branch = [if (trial.flankertrial.count == 80 &amp;amp;&amp;amp; trial.flankertrial.percentcorrect &amp;gt; 75) trial.accuracyfeedback]&lt;br/&gt;&lt;br/&gt;Error: expression contains an unknown element or property name.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I'm thinking that the trial.flankertrial.count won't work because the count would always be 1 within the trial, which is why my first instinct was to add something to the block level. At this point I'm not sure how I can specify that participants should see a simple text message after the block depending on their percent correct on one of the two trial types. Any ideas?&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 21 Feb 2017 10:29:27 GMT</pubDate><dc:creator>bellreavue</dc:creator></item><item><title>RE: Feedback message after block based on performance</title><link>https://forums.millisecond.com/Topic20828.aspx</link><description>&lt;div data-id="20824" class="if-quote-wrapper" unselectable="on" data-guid="1487701354052"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20824" 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="20824" 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="20824" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;bellreavue - Tuesday, February 21, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20824"&gt;&lt;div class="if-quote-message-margin"&gt;My task involves blocks of a flanker task. Each block runs through a sequence of two types of trials. I want participants who have &amp;gt;90% correct and &amp;lt;75% correct at the end of the block on one type of trial only (flankertrial) to see a message telling them to go faster or go slower (and participants who have between 75 and 90% percent correct on those trials to see nothing).&lt;br/&gt;&lt;br/&gt;I tried adding this branch to my &amp;lt;block&amp;gt;:&amp;nbsp;&lt;br/&gt;/ branch = [if (trial.flankertrial.percentcorrect &amp;lt; 90) trial.speedfeedback]&lt;br/&gt;/ branch = [if (trial.flankertrial.percentcorrect &amp;gt; 75) trial.accuracyfeedback]&lt;br/&gt;&lt;br/&gt;But it came up with an error: the element 'speedfeedback' in branch expression 'speedfeedback' is the wrong element type. I'm assuming this means I can't branch to a trial if I use it in the block element.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;My next attempt was to add a branch to my &amp;lt;trial flankertrial&amp;gt;:&amp;nbsp;&lt;br/&gt;/ branch [if (trial.flankertrial.count &amp;lt; 80) notrial] &lt;br/&gt;/ branch = [if (trial.flankertrial.count == 80 &amp;amp;&amp;amp; trial.flankertrial.percentcorrect &amp;lt; 90) trial.speedfeedback]&lt;br/&gt;/ branch = [if (trial.flankertrial.count == 80 &amp;amp;&amp;amp; trial.flankertrial.percentcorrect &amp;gt; 75) trial.accuracyfeedback]&lt;br/&gt;&lt;br/&gt;Error: expression contains an unknown element or property name.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I'm thinking that the trial.flankertrial.count won't work because the count would always be 1 within the trial, which is why my first instinct was to add something to the block level. At this point I'm not sure how I can specify that participants should see a simple text message after the block depending on their percent correct on one of the two trial types. Any ideas?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20824"&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;&amp;gt; I tried adding this branch to my &amp;lt;block&amp;gt;:&amp;nbsp;&lt;br/&gt;&amp;gt; / branch = [if (trial.flankertrial.percentcorrect &amp;lt; 90) trial.speedfeedback]&lt;br/&gt;&amp;gt;/ branch = [if (trial.flankertrial.percentcorrect &amp;gt; 75) trial.accuracyfeedback]&lt;br/&gt;&amp;gt; [...]&lt;br/&gt;&amp;gt; I'm assuming this means I can't branch to a trial if I use it in the block element.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Correct.&lt;br/&gt;&lt;br/&gt;/branch-es must remain at the same "level": &lt;br/&gt;A &amp;lt;trial&amp;gt; can /branch to another &amp;lt;trial&amp;gt;; a &amp;lt;trial&amp;gt; cannot /branch to a &amp;lt;block&amp;gt;.&lt;br/&gt;A &amp;lt;block&amp;gt; can /branch to another &amp;lt;block&amp;gt;; a &amp;lt;block&amp;gt; cannot /branch to a &amp;lt;trial&amp;gt;.&lt;br/&gt;&lt;br/&gt;Put the two trials in (a) feedback &amp;lt;block&amp;gt;(s) and /branch to those &amp;lt;block&amp;gt;(s).&lt;br/&gt;&lt;br/&gt;&amp;gt; / branch [if (trial.flankertrial.count &amp;lt; 80) notrial] &lt;br/&gt;&lt;br/&gt;is missing an equals-sign&lt;br/&gt;&lt;br/&gt;/ branch = [if (trial.flankertrial.count &amp;lt; 80) notrial] </description><pubDate>Tue, 21 Feb 2017 10:29:27 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>