﻿<?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  » Progress Feedback based on blocknumber</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 13 Sep 2026 11:38:28 GMT</lastBuildDate><ttl>20</ttl><item><title>Progress Feedback based on blocknumber</title><link>https://forums.millisecond.com/Topic30401.aspx</link><description>After the end of each block, I want the participants to receive a feedback related to the number of blocks that have been completed. According to this &lt;a href="https://www.millisecond.com/support/docs/v6/html/language/properties/currentblocknumber.htm"&gt;https://www.millisecond.com/support/docs/v6/html/language/properties/currentblocknumber.htm&lt;/a&gt;&lt;br/&gt;I created a Break page&lt;br/&gt;&amp;lt;page Break&amp;gt;&lt;br/&gt;You have now completed block &amp;lt;%expt.currentblocknumber%&amp;gt; out of 6.&lt;br/&gt;^^Please feel free to take a short break now. Before you continue, we remind you that the words on the sides of the screen may have changed.&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;But it sais that “Expression 'block.currentblocknumber' is invalid. Expression contains an unknown element or property name.”&lt;br/&gt;Why is this happening?&lt;br/&gt;&lt;br/&gt;I also try to find a way to show a “thank you” page (instead of break) if the blocknumber is number 6 (the last one), but I m not familiar with expression syntax. Could you help me? &lt;br/&gt;Thank you in advance&lt;br/&gt;</description><pubDate>Wed, 16 Dec 2020 16:35:31 GMT</pubDate><dc:creator>Athanasia</dc:creator></item><item><title>RE: Progress Feedback based on blocknumber</title><link>https://forums.millisecond.com/Topic30404.aspx</link><description>Thank you so much for your super fast response!!</description><pubDate>Wed, 16 Dec 2020 16:35:31 GMT</pubDate><dc:creator>Athanasia</dc:creator></item><item><title>RE: Progress Feedback based on blocknumber</title><link>https://forums.millisecond.com/Topic30402.aspx</link><description>&lt;blockquote data-id="30401" class="if-quote-wrapper" unselectable="on" data-guid="1608135738812" id="if_insertedNode_1608135737749" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30401" 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="30401" 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="30401" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Athanasia - 12/16/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30401"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;After the end of each block, I want the participants to receive a feedback related to the number of blocks that have been completed. According to this &lt;a href="https://www.millisecond.com/support/docs/v6/html/language/properties/currentblocknumber.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/language/properties/currentblocknumber.htm"&gt;https://www.millisecond.com/support/docs/v6/html/language/properties/currentblocknumber.htm&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;I created a Break page&lt;br/&gt;&amp;lt;page Break&amp;gt;&lt;br/&gt;You have now completed block &amp;lt;%expt.currentblocknumber%&amp;gt; out of 6.&lt;br/&gt;^^Please feel free to take a short break now. Before you continue, we remind you that the words on the sides of the screen may have changed.&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;But it sais that “Expression 'block.currentblocknumber' is invalid. Expression contains an unknown element or property name.”&lt;br/&gt;Why is this happening?&lt;br/&gt;&lt;br/&gt;I also try to find a way to show a “thank you” page (instead of break) if the blocknumber is number 6 (the last one), but I m not familiar with expression syntax. Could you help me? &lt;br/&gt;Thank you in advance&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30401"&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;A script may have multiple &amp;lt;expt&amp;gt;s. Hence, as always, you are required to specify an element's name when you are trying to reference an element's property. If you have not explicitly named the one or several &amp;lt;expt&amp;gt; elements in your script, they are given numerical identifiers internally as in&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ blocks = [1-6 = myblock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ postinstructions = (Break)&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page Break&amp;gt;&lt;br/&gt;&amp;lt;%if (expt.1.currentblocknumber &amp;lt; 6) item.breaktext.item(1) else item.breaktext.item(2)%&amp;gt;&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item breaktext&amp;gt;&lt;br/&gt;/ 1 = "You have now completed block &amp;lt;%expt.1.currentblocknumber%&amp;gt; out of 6.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Please feel free to take a short break now. Before you continue, we remind you that the words on the sides of the screen may have changed."&lt;br/&gt;/ 2 = "Thank you!"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("Press SPACE")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;</description><pubDate>Wed, 16 Dec 2020 16:27:19 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>