﻿<?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  » Textbox multiple entries</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 16 Apr 2026 22:20:44 GMT</lastBuildDate><ttl>20</ttl><item><title>Textbox multiple entries</title><link>https://forums.millisecond.com/Topic36145.aspx</link><description>I want participants to enter words that are associated with their conceptualization of the word "status" as separate entries, one after the other (max 20).&amp;nbsp;&amp;nbsp;&lt;br/&gt;They type in a word, hit the 'Enter' key, then enter another word, hit the 'Enter' key, so on and so forth... &lt;br/&gt;I currently have a simple textbox asking them to enter one word (see script below).&amp;nbsp;&lt;br/&gt;How do I create a task that will go an iterative process of (1) store the word entry/response and then (2) clear textbox for new entry/response?&amp;nbsp;&lt;br/&gt;Thanks in advance!&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage status_words&amp;gt;&lt;br/&gt;/ questions = [1=status_words]&lt;br/&gt;/ finishlabel = "Click here to continue"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox status_words&amp;gt;&lt;br/&gt;/ caption = "At the top of society are the people who are the best off and have high status. ~nAt the bottom are the people who are the worst off and have low status. ~nWhat traits or characteristics tell you whether someone has low or high status?"&lt;br/&gt;/ fontstyle = ("Arial", -18, false, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (20,20)&lt;br/&gt;/ position = (10%,15%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;</description><pubDate>Wed, 24 Apr 2024 19:42:45 GMT</pubDate><dc:creator>wmfang</dc:creator></item><item><title>RE: Textbox multiple entries</title><link>https://forums.millisecond.com/Topic36157.aspx</link><description>&lt;blockquote data-id="36156" class="if-quote-wrapper" unselectable="on" data-guid="1713987693720" contenteditable="false" id="if_insertedNode_1713987692417"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36156" 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="36156" 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="36156" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/24/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36156"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36146" class="if-quote-wrapper" unselectable="on" data-guid="1713987693720" contenteditable="false" id="if_insertedNode_1713986669276"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36146" 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="36146" 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="36146" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/22/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36146"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36145" class="if-quote-wrapper" unselectable="on" data-guid="1713987693720" contenteditable="false" id="if_insertedNode_1713815852812"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36145" 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="36145" 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="36145" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/22/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36145"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I want participants to enter words that are associated with their conceptualization of the word "status" as separate entries, one after the other (max 20).&amp;nbsp;&amp;nbsp;&lt;br/&gt;They type in a word, hit the 'Enter' key, then enter another word, hit the 'Enter' key, so on and so forth... &lt;br/&gt;I currently have a simple textbox asking them to enter one word (see script below).&amp;nbsp;&lt;br/&gt;How do I create a task that will go an iterative process of (1) store the word entry/response and then (2) clear textbox for new entry/response?&amp;nbsp;&lt;br/&gt;Thanks in advance!&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage status_words&amp;gt;&lt;br/&gt;/ questions = [1=status_words]&lt;br/&gt;/ finishlabel = "Click here to continue"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox status_words&amp;gt;&lt;br/&gt;/ caption = "At the top of society are the people who are the best off and have high status. ~nAt the bottom are the people who are the worst off and have low status. ~nWhat traits or characteristics tell you whether someone has low or high status?"&lt;br/&gt;/ fontstyle = ("Arial", -18, false, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (20,20)&lt;br/&gt;/ position = (10%,15%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36145"&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;[code]&amp;lt;values&amp;gt;&lt;br/&gt;/ wordsentered = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ blocks = [1=block.enterwords; 2=block.showwords]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block enterwords&amp;gt;&lt;br/&gt;/ trials = [1=surveypage.status_words]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block showwords&amp;gt;&lt;br/&gt;/ trials = [1=trial.mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage status_words&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (textbox.status_words.response != "") {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.wordsentered += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;item.statusworditems.appenditem(textbox.status_words.response);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.wordsentered &amp;lt; 20 &amp;amp;&amp;amp; textbox.status_words.response != "") {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.status_words;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ caption = "Enter a word below. You will be prompted for up to 20 words."&lt;br/&gt;/ subcaption = "When you can't come up with a word anymore, simply leave the box empty and click the continue button."&lt;br/&gt;/ questions = [1=status_words]&lt;br/&gt;/ finishlabel = "Click here to continue"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox status_words&amp;gt;&lt;br/&gt;/ caption = "At the top of society are the people who are the best off and have high status. ~nAt the bottom are the people who are the worst off and have low status. ~nWhat traits or characteristics tell you whether someone has low or high status?"&lt;br/&gt;/ fontstyle = ("Arial", -18, false, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (20,20)&lt;br/&gt;/ position = (10%,15%)&lt;br/&gt;/ required = false&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item statusworditems&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text statusword&amp;gt;&lt;br/&gt;/ items = item.statusworditems&lt;br/&gt;/ select = sequence&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=text.statusword]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (trial.mytrial.count &amp;lt; values.wordsentered) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.mytrial;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;[/code]&lt;br/&gt;&lt;br/&gt;Also, there are various examples in the library you can look at, such as the first two scripts at &lt;a href="https://www.millisecond.com/download/library/iat/iattemplates"&gt;&lt;a href="https://www.millisecond.com/download/library/iat/iattemplates"&gt;https://www.millisecond.com/download/library/iat/iattemplates&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36146"&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;How would I store each word entry (one per row) in a column named "StatusItems" in the data file?&lt;a class="if-quote-goto quote-link" href="#" data-id="36156"&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;Why would you want to do that? Also, you already have the information in the response column for the textbox / surveypage.</description><pubDate>Wed, 24 Apr 2024 19:42:45 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Textbox multiple entries</title><link>https://forums.millisecond.com/Topic36156.aspx</link><description>&lt;blockquote data-id="36146" class="if-quote-wrapper" unselectable="on" data-guid="1713986670556" contenteditable="false" id="if_insertedNode_1713986669276"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36146" 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="36146" 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="36146" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/22/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36146"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36145" class="if-quote-wrapper" unselectable="on" data-guid="1713986670556" contenteditable="false" id="if_insertedNode_1713815852812"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36145" 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="36145" 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="36145" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/22/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36145"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I want participants to enter words that are associated with their conceptualization of the word "status" as separate entries, one after the other (max 20).&amp;nbsp;&amp;nbsp;&lt;br/&gt;They type in a word, hit the 'Enter' key, then enter another word, hit the 'Enter' key, so on and so forth... &lt;br/&gt;I currently have a simple textbox asking them to enter one word (see script below).&amp;nbsp;&lt;br/&gt;How do I create a task that will go an iterative process of (1) store the word entry/response and then (2) clear textbox for new entry/response?&amp;nbsp;&lt;br/&gt;Thanks in advance!&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage status_words&amp;gt;&lt;br/&gt;/ questions = [1=status_words]&lt;br/&gt;/ finishlabel = "Click here to continue"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox status_words&amp;gt;&lt;br/&gt;/ caption = "At the top of society are the people who are the best off and have high status. ~nAt the bottom are the people who are the worst off and have low status. ~nWhat traits or characteristics tell you whether someone has low or high status?"&lt;br/&gt;/ fontstyle = ("Arial", -18, false, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (20,20)&lt;br/&gt;/ position = (10%,15%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36145"&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;[code]&amp;lt;values&amp;gt;&lt;br/&gt;/ wordsentered = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ blocks = [1=block.enterwords; 2=block.showwords]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block enterwords&amp;gt;&lt;br/&gt;/ trials = [1=surveypage.status_words]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block showwords&amp;gt;&lt;br/&gt;/ trials = [1=trial.mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage status_words&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (textbox.status_words.response != "") {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.wordsentered += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;item.statusworditems.appenditem(textbox.status_words.response);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.wordsentered &amp;lt; 20 &amp;amp;&amp;amp; textbox.status_words.response != "") {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.status_words;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ caption = "Enter a word below. You will be prompted for up to 20 words."&lt;br/&gt;/ subcaption = "When you can't come up with a word anymore, simply leave the box empty and click the continue button."&lt;br/&gt;/ questions = [1=status_words]&lt;br/&gt;/ finishlabel = "Click here to continue"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox status_words&amp;gt;&lt;br/&gt;/ caption = "At the top of society are the people who are the best off and have high status. ~nAt the bottom are the people who are the worst off and have low status. ~nWhat traits or characteristics tell you whether someone has low or high status?"&lt;br/&gt;/ fontstyle = ("Arial", -18, false, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (20,20)&lt;br/&gt;/ position = (10%,15%)&lt;br/&gt;/ required = false&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item statusworditems&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text statusword&amp;gt;&lt;br/&gt;/ items = item.statusworditems&lt;br/&gt;/ select = sequence&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=text.statusword]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (trial.mytrial.count &amp;lt; values.wordsentered) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.mytrial;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;[/code]&lt;br/&gt;&lt;br/&gt;Also, there are various examples in the library you can look at, such as the first two scripts at &lt;a href="https://www.millisecond.com/download/library/iat/iattemplates"&gt;&lt;a href="https://www.millisecond.com/download/library/iat/iattemplates"&gt;https://www.millisecond.com/download/library/iat/iattemplates&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36146"&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;How would I store each word entry (one per row) in a column named "StatusItems" in the data file?</description><pubDate>Wed, 24 Apr 2024 19:25:04 GMT</pubDate><dc:creator>wmfang</dc:creator></item><item><title>RE: Textbox multiple entries</title><link>https://forums.millisecond.com/Topic36147.aspx</link><description>&lt;blockquote data-id="36146" class="if-quote-wrapper" unselectable="on" data-guid="1713816456532" contenteditable="false" id="if_insertedNode_1713816455573"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36146" 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="36146" 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="36146" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/22/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36146"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36145" class="if-quote-wrapper" unselectable="on" data-guid="1713816456532" contenteditable="false" id="if_insertedNode_1713815852812"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36145" 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="36145" 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="36145" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/22/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36145"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I want participants to enter words that are associated with their conceptualization of the word "status" as separate entries, one after the other (max 20).&amp;nbsp;&amp;nbsp;&lt;br/&gt;They type in a word, hit the 'Enter' key, then enter another word, hit the 'Enter' key, so on and so forth... &lt;br/&gt;I currently have a simple textbox asking them to enter one word (see script below).&amp;nbsp;&lt;br/&gt;How do I create a task that will go an iterative process of (1) store the word entry/response and then (2) clear textbox for new entry/response?&amp;nbsp;&lt;br/&gt;Thanks in advance!&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage status_words&amp;gt;&lt;br/&gt;/ questions = [1=status_words]&lt;br/&gt;/ finishlabel = "Click here to continue"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox status_words&amp;gt;&lt;br/&gt;/ caption = "At the top of society are the people who are the best off and have high status. ~nAt the bottom are the people who are the worst off and have low status. ~nWhat traits or characteristics tell you whether someone has low or high status?"&lt;br/&gt;/ fontstyle = ("Arial", -18, false, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (20,20)&lt;br/&gt;/ position = (10%,15%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36145"&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;[code]&amp;lt;values&amp;gt;&lt;br/&gt;/ wordsentered = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ blocks = [1=block.enterwords; 2=block.showwords]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block enterwords&amp;gt;&lt;br/&gt;/ trials = [1=surveypage.status_words]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block showwords&amp;gt;&lt;br/&gt;/ trials = [1=trial.mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage status_words&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (textbox.status_words.response != "") {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.wordsentered += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;item.statusworditems.appenditem(textbox.status_words.response);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.wordsentered &amp;lt; 20 &amp;amp;&amp;amp; textbox.status_words.response != "") {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.status_words;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ caption = "Enter a word below. You will be prompted for up to 20 words."&lt;br/&gt;/ subcaption = "When you can't come up with a word anymore, simply leave the box empty and click the continue button."&lt;br/&gt;/ questions = [1=status_words]&lt;br/&gt;/ finishlabel = "Click here to continue"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox status_words&amp;gt;&lt;br/&gt;/ caption = "At the top of society are the people who are the best off and have high status. ~nAt the bottom are the people who are the worst off and have low status. ~nWhat traits or characteristics tell you whether someone has low or high status?"&lt;br/&gt;/ fontstyle = ("Arial", -18, false, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (20,20)&lt;br/&gt;/ position = (10%,15%)&lt;br/&gt;/ required = false&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item statusworditems&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text statusword&amp;gt;&lt;br/&gt;/ items = item.statusworditems&lt;br/&gt;/ select = sequence&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=text.statusword]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (trial.mytrial.count &amp;lt; values.wordsentered) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.mytrial;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;[/code]&lt;br/&gt;&lt;br/&gt;Also, there are various examples in the library you can look at, such as the first two scripts at &lt;a href="https://www.millisecond.com/download/library/iat/iattemplates"&gt;&lt;a href="https://www.millisecond.com/download/library/iat/iattemplates"&gt;https://www.millisecond.com/download/library/iat/iattemplates&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36146"&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;Thank you so much! This is extremely helpful.</description><pubDate>Mon, 22 Apr 2024 20:07:43 GMT</pubDate><dc:creator>wmfang</dc:creator></item><item><title>RE: Textbox multiple entries</title><link>https://forums.millisecond.com/Topic36146.aspx</link><description>&lt;blockquote data-id="36145" class="if-quote-wrapper" unselectable="on" data-guid="1713815853532" contenteditable="false" id="if_insertedNode_1713815852812"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36145" 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="36145" 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="36145" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/22/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36145"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I want participants to enter words that are associated with their conceptualization of the word "status" as separate entries, one after the other (max 20).&amp;nbsp;&amp;nbsp;&lt;br/&gt;They type in a word, hit the 'Enter' key, then enter another word, hit the 'Enter' key, so on and so forth... &lt;br/&gt;I currently have a simple textbox asking them to enter one word (see script below).&amp;nbsp;&lt;br/&gt;How do I create a task that will go an iterative process of (1) store the word entry/response and then (2) clear textbox for new entry/response?&amp;nbsp;&lt;br/&gt;Thanks in advance!&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage status_words&amp;gt;&lt;br/&gt;/ questions = [1=status_words]&lt;br/&gt;/ finishlabel = "Click here to continue"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox status_words&amp;gt;&lt;br/&gt;/ caption = "At the top of society are the people who are the best off and have high status. ~nAt the bottom are the people who are the worst off and have low status. ~nWhat traits or characteristics tell you whether someone has low or high status?"&lt;br/&gt;/ fontstyle = ("Arial", -18, false, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (20,20)&lt;br/&gt;/ position = (10%,15%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36145"&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;[code]&amp;lt;values&amp;gt;&lt;br/&gt;/ wordsentered = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ blocks = [1=block.enterwords; 2=block.showwords]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block enterwords&amp;gt;&lt;br/&gt;/ trials = [1=surveypage.status_words]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block showwords&amp;gt;&lt;br/&gt;/ trials = [1=trial.mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage status_words&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (textbox.status_words.response != "") {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.wordsentered += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;item.statusworditems.appenditem(textbox.status_words.response);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.wordsentered &amp;lt; 20 &amp;amp;&amp;amp; textbox.status_words.response != "") {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.status_words;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ caption = "Enter a word below. You will be prompted for up to 20 words."&lt;br/&gt;/ subcaption = "When you can't come up with a word anymore, simply leave the box empty and click the continue button."&lt;br/&gt;/ questions = [1=status_words]&lt;br/&gt;/ finishlabel = "Click here to continue"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox status_words&amp;gt;&lt;br/&gt;/ caption = "At the top of society are the people who are the best off and have high status. ~nAt the bottom are the people who are the worst off and have low status. ~nWhat traits or characteristics tell you whether someone has low or high status?"&lt;br/&gt;/ fontstyle = ("Arial", -18, false, false, false, false, 5, 0)&lt;br/&gt;/ textboxsize = (20,20)&lt;br/&gt;/ position = (10%,15%)&lt;br/&gt;/ required = false&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item statusworditems&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text statusword&amp;gt;&lt;br/&gt;/ items = item.statusworditems&lt;br/&gt;/ select = sequence&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=text.statusword]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (trial.mytrial.count &amp;lt; values.wordsentered) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.mytrial;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;[/code]&lt;br/&gt;&lt;br/&gt;Also, there are various examples in the library you can look at, such as the first two scripts at &lt;a href="https://www.millisecond.com/download/library/iat/iattemplates"&gt;https://www.millisecond.com/download/library/iat/iattemplates&lt;/a&gt;&lt;br/&gt;</description><pubDate>Mon, 22 Apr 2024 20:01:03 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>