﻿<?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  » Textbox for practice trials</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 28 Jul 2026 11:59:26 GMT</lastBuildDate><ttl>20</ttl><item><title>Textbox for practice trials</title><link>https://forums.millisecond.com/Topic28331.aspx</link><description>Hello,&lt;br/&gt;I am very new to Inquisit so this might be a stupid question.&amp;nbsp; Hope you can help!&lt;br/&gt;I am preparing a task (similar to the TheThe Hungry Monkey).&amp;nbsp; I want to have 4 practice trials where they answer the training question before the participants can move on to the training game against the computer.&amp;nbsp;&lt;br/&gt;Each of my training questions is an image.&amp;nbsp; At the moment I have this:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial practice_1&amp;gt;&lt;br/&gt;/ stimulusframes=[1=practice_picture_1]&lt;br/&gt;/ inputdevice=keyboard&lt;br/&gt;/ validresponse = ("0","1","2","3","4")&lt;br/&gt;/ correctresponse = ("3")&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ ontrialend = [ values.correct_practice += trial.practice_1.correct]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;However, this only shows the image (with the question on it) and no matter how I tried to respond, it doesn't move on.&amp;nbsp; So I thought I should create a textbox to have a place to collect the response, thus this:&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox practice_response&amp;gt;&lt;br/&gt;/ caption = "Your answer:"&lt;br/&gt;/ validresponse = ("0","1","2","3","4")&lt;br/&gt;/ correctresponse = ("3")&lt;br/&gt;/ fontstyle = ("Arial", 4.08%, true, false, false, false, 5, 0)&lt;br/&gt;/ position = (50% , 90%)&lt;br/&gt;/ range = (0, 10)&lt;br/&gt;/ responsefontstyle = ("Arial", 4.08%, true, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (30%, 10%)&lt;br/&gt;/ txcolor = black&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial practice_1&amp;gt;&lt;br/&gt;/ stimulusframes=[1=practice_picture_1, practice_response]&lt;br/&gt;/ inputdevice=keyboard&lt;br/&gt;/ validresponse = ("0","1","2","3","4")&lt;br/&gt;/ correctresponse = ("3")&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ ontrialend = [ values.correct_practice += trial.practice_1.correct]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;This returns an error that says:&amp;nbsp; Could not locate element "practice_response".&lt;br/&gt;&lt;br/&gt;Can you tell me what is it that I need to change here for it to work?&amp;nbsp; Thank you in advance!&lt;br/&gt;&lt;br/&gt;Thao &lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 24 Feb 2020 13:12:02 GMT</pubDate><dc:creator>Thao Pham</dc:creator></item><item><title>RE: Textbox for practice trials</title><link>https://forums.millisecond.com/Topic28334.aspx</link><description>Thank you so much for the fast reply!!&amp;nbsp; It works as I want now!&lt;br/&gt;&lt;br/&gt;Thao</description><pubDate>Mon, 24 Feb 2020 13:12:02 GMT</pubDate><dc:creator>Thao Pham</dc:creator></item><item><title>RE: Textbox for practice trials</title><link>https://forums.millisecond.com/Topic28332.aspx</link><description>&lt;blockquote data-id="28331" class="if-quote-wrapper" unselectable="on" data-guid="1582548251501" id="if_insertedNode_1582548251182" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="28331" 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="28331" 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="28331" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Thao Pham - 2/24/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-28331"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;I am very new to Inquisit so this might be a stupid question.&amp;nbsp; Hope you can help!&lt;br/&gt;I am preparing a task (similar to the TheThe Hungry Monkey).&amp;nbsp; I want to have 4 practice trials where they answer the training question before the participants can move on to the training game against the computer.&amp;nbsp;&lt;br/&gt;Each of my training questions is an image.&amp;nbsp; At the moment I have this:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial practice_1&amp;gt;&lt;br/&gt;/ stimulusframes=[1=practice_picture_1]&lt;br/&gt;/ inputdevice=keyboard&lt;br/&gt;/ validresponse = ("0","1","2","3","4")&lt;br/&gt;/ correctresponse = ("3")&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ ontrialend = [ values.correct_practice += trial.practice_1.correct]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;However, this only shows the image (with the question on it) and no matter how I tried to respond, it doesn't move on.&amp;nbsp; So I thought I should create a textbox to have a place to collect the response, thus this:&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox practice_response&amp;gt;&lt;br/&gt;/ caption = "Your answer:"&lt;br/&gt;/ validresponse = ("0","1","2","3","4")&lt;br/&gt;/ correctresponse = ("3")&lt;br/&gt;/ fontstyle = ("Arial", 4.08%, true, false, false, false, 5, 0)&lt;br/&gt;/ position = (50% , 90%)&lt;br/&gt;/ range = (0, 10)&lt;br/&gt;/ responsefontstyle = ("Arial", 4.08%, true, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (30%, 10%)&lt;br/&gt;/ txcolor = black&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial practice_1&amp;gt;&lt;br/&gt;/ stimulusframes=[1=practice_picture_1, practice_response]&lt;br/&gt;/ inputdevice=keyboard&lt;br/&gt;/ validresponse = ("0","1","2","3","4")&lt;br/&gt;/ correctresponse = ("3")&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ ontrialend = [ values.correct_practice += trial.practice_1.correct]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;This returns an error that says:&amp;nbsp; Could not locate element "practice_response".&lt;br/&gt;&lt;br/&gt;Can you tell me what is it that I need to change here for it to work?&amp;nbsp; Thank you in advance!&lt;br/&gt;&lt;br/&gt;Thao &lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="28331"&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 &amp;lt;textbox&amp;gt; element is not a stimulus, you cannot display it via /stimulusframes in a &amp;lt;trial&amp;gt;. &amp;lt;textbox&amp;gt; elements only work as /questions on &amp;lt;surveypage&amp;gt; elements.&lt;br/&gt;&lt;br/&gt;If you wish to have a trial-type element that collects a typed response, use the special &amp;lt;openended&amp;gt; trial element:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/v4/html/language/elements/openended.htm"&gt;https://www.millisecond.com/support/docs/v4/html/language/elements/openended.htm&lt;/a&gt;</description><pubDate>Mon, 24 Feb 2020 12:45:57 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>