﻿<?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  » Back buttons in a trial</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 22 Sep 2026 12:05:01 GMT</lastBuildDate><ttl>20</ttl><item><title>Back buttons in a trial</title><link>https://forums.millisecond.com/Topic26473.aspx</link><description>Hello,&lt;br/&gt;I would like to add a back button for participants in my experiment to return to former pages to reference them for information. Here is my current script, which instructs participants to press "space bar" to advance through the pages, so I just need to add something for going back through pages.&lt;br/&gt;&lt;br/&gt;Thank you very much!&lt;br/&gt;&lt;br/&gt;&amp;lt;trial Psych&amp;gt;&lt;br/&gt;/ stimulusframes = [1=Psych] &lt;br/&gt;/ correctresponse = (" ")&lt;br/&gt;/ validresponse = (" ") &lt;br/&gt;/ response = correct &amp;lt;/trial&amp;gt;&lt;br/&gt;</description><pubDate>Mon, 25 Feb 2019 12:22:53 GMT</pubDate><dc:creator>inquisituser22</dc:creator></item><item><title>RE: Back buttons in a trial</title><link>https://forums.millisecond.com/Topic26488.aspx</link><description>&lt;div data-id="26487" class="if-quote-wrapper" unselectable="on" data-guid="1551126167324"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26487" 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="26487" 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="26487" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;inquisituser22 - Monday, February 25, 2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26487"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26474" class="if-quote-wrapper" unselectable="on" data-guid="1551126167324"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26474" 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="26474" 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="26474" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Thursday, February 21, 2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26474"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26473" class="if-quote-wrapper" unselectable="on" data-guid="1551126167324"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26473" 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="26473" 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="26473" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;inquisituser22 - Thursday, February 21, 2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26473"&gt;&lt;div class="if-quote-message-margin"&gt;Thank you very much, Dave!&lt;br/&gt;&lt;br/&gt;Hello,&lt;br/&gt;I would like to add a back button for participants in my experiment to return to former pages to reference them for information. Here is my current script, which instructs participants to press "space bar" to advance through the pages, so I just need to add something for going back through pages.&lt;br/&gt;&lt;br/&gt;Thank you very much!&lt;br/&gt;&lt;br/&gt;&amp;lt;trial Psych&amp;gt;&lt;br/&gt;/ stimulusframes = [1=Psych] &lt;br/&gt;/ correctresponse = (" ")&lt;br/&gt;/ validresponse = (" ") &lt;br/&gt;/ response = correct &amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26473"&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;You can do that like so:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ itemnumber = 1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block psychblock&amp;gt;&lt;br/&gt;/ stop = [&lt;br/&gt;values.itemnumber &amp;gt;= 5;&lt;br/&gt;]&lt;br/&gt;/ trials = [1=Psych]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;//press space to advance, press backspace to go back&lt;br/&gt;&amp;lt;trial Psych&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if (trial.Psych.response == 57 &amp;amp;&amp;amp; values.itemnumber &amp;lt; 5) values.itemnumber += 1;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if (trial.Psych.response == 14 &amp;amp;&amp;amp; values.itemnumber &amp;gt; 1) values.itemnumber -= 1;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=Psych]&lt;br/&gt;/ validresponse = (57, 14)&lt;br/&gt;/ branch = [&lt;br/&gt;trial.Psych;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text psych&amp;gt;&lt;br/&gt;/ items = psychitems&lt;br/&gt;/ select = values.itemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item psychitems&amp;gt;&lt;br/&gt;/ 1 = "Page 1"&lt;br/&gt;/ 2 = "Page 2"&lt;br/&gt;/ 3 = "Page 3"&lt;br/&gt;/ 4 = "Page 4"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26474"&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;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26487"&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;Thank you very much, Dave!</description><pubDate>Mon, 25 Feb 2019 12:22:53 GMT</pubDate><dc:creator>inquisituser22</dc:creator></item><item><title>RE: Back buttons in a trial</title><link>https://forums.millisecond.com/Topic26474.aspx</link><description>&lt;div data-id="26473" class="if-quote-wrapper" unselectable="on" data-guid="1550802763859"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26473" 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="26473" 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="26473" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;inquisituser22 - Thursday, February 21, 2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26473"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I would like to add a back button for participants in my experiment to return to former pages to reference them for information. Here is my current script, which instructs participants to press "space bar" to advance through the pages, so I just need to add something for going back through pages.&lt;br/&gt;&lt;br/&gt;Thank you very much!&lt;br/&gt;&lt;br/&gt;&amp;lt;trial Psych&amp;gt;&lt;br/&gt;/ stimulusframes = [1=Psych] &lt;br/&gt;/ correctresponse = (" ")&lt;br/&gt;/ validresponse = (" ") &lt;br/&gt;/ response = correct &amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26473"&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;You can do that like so:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ itemnumber = 1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block psychblock&amp;gt;&lt;br/&gt;/ stop = [&lt;br/&gt;values.itemnumber &amp;gt;= 5;&lt;br/&gt;]&lt;br/&gt;/ trials = [1=Psych]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;//press space to advance, press backspace to go back&lt;br/&gt;&amp;lt;trial Psych&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if (trial.Psych.response == 57 &amp;amp;&amp;amp; values.itemnumber &amp;lt; 5) values.itemnumber += 1;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;if (trial.Psych.response == 14 &amp;amp;&amp;amp; values.itemnumber &amp;gt; 1) values.itemnumber -= 1;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=Psych]&lt;br/&gt;/ validresponse = (57, 14)&lt;br/&gt;/ branch = [&lt;br/&gt;trial.Psych;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text psych&amp;gt;&lt;br/&gt;/ items = psychitems&lt;br/&gt;/ select = values.itemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item psychitems&amp;gt;&lt;br/&gt;/ 1 = "Page 1"&lt;br/&gt;/ 2 = "Page 2"&lt;br/&gt;/ 3 = "Page 3"&lt;br/&gt;/ 4 = "Page 4"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 21 Feb 2019 18:39:49 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>