﻿<?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 6  » How to get input from participants and use it as value.</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 08 Sep 2026 15:57:55 GMT</lastBuildDate><ttl>20</ttl><item><title>How to get input from participants and use it as value.</title><link>https://forums.millisecond.com/Topic28570.aspx</link><description>Hi all,&lt;br/&gt;&lt;br/&gt;I am new to Inquisit programming and I was wondering how to get input from participants and use it as value.&amp;nbsp;&lt;br/&gt;So, simply saying, at the beginning of the program, participants will be asked to input their name, and then they will see this as stimulus/values as the program goes on.&lt;br/&gt;&lt;br/&gt;For example,&amp;nbsp;&lt;br/&gt;at the beginning there will be text box where participants will be asked to type their name. (I think I can do this by using openended element?,,) Then, there will be page showing "Welcome XXX (whatever they typed in the box)."&amp;nbsp;&lt;br/&gt;How would you code this?&lt;br/&gt;&lt;br/&gt;I know this can be very simple and easy for you all. I am new to this and trying to get a sense of this. I have read the tutorial and tried to search any previous posts but still no good news. Once I know how this can be coded, I think I will be good to go further! I'd really appreciate it if you can help me with this!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;</description><pubDate>Thu, 02 Apr 2020 20:40:17 GMT</pubDate><dc:creator>kk1132</dc:creator></item><item><title>RE: How to get input from participants and use it as value.</title><link>https://forums.millisecond.com/Topic28667.aspx</link><description>&lt;blockquote data-id="28573" class="if-quote-wrapper" unselectable="on" data-guid="1585860003894" id="if_insertedNode_1585860003097" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="28573" 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="28573" 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="28573" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 3/20/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-28573"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="28570" class="if-quote-wrapper" unselectable="on" data-guid="1585860003894" id="if_insertedNode_1584706868430" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="28570" 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="28570" 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="28570" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;kk1132 - 3/20/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-28570"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I am new to Inquisit programming and I was wondering how to get input from participants and use it as value.&amp;nbsp;&lt;br/&gt;So, simply saying, at the beginning of the program, participants will be asked to input their name, and then they will see this as stimulus/values as the program goes on.&lt;br/&gt;&lt;br/&gt;For example,&amp;nbsp;&lt;br/&gt;at the beginning there will be text box where participants will be asked to type their name. (I think I can do this by using openended element?,,) Then, there will be page showing "Welcome XXX (whatever they typed in the box)."&amp;nbsp;&lt;br/&gt;How would you code this?&lt;br/&gt;&lt;br/&gt;I know this can be very simple and easy for you all. I am new to this and trying to get a sense of this. I have read the tutorial and tried to search any previous posts but still no good news. Once I know how this can be coded, I think I will be good to go further! I'd really appreciate it if you can help me with this!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="28570"&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;&amp;lt;block example&amp;gt;&lt;br/&gt;/ trials = [1=enter_name; 2=welcome]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ yourname = ""&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended enter_name&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.yourname = openended.enter_name.response;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=name_prompt]&lt;br/&gt;/ position = (50%, 60%)&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text name_prompt&amp;gt;&lt;br/&gt;/ items = ("Please enter your name")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial welcome&amp;gt;&lt;br/&gt;/ stimulusframes = [1=welcome_msg]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text welcome_msg&amp;gt;&lt;br/&gt;/ items = ("Welcome, &amp;lt;%values.yourname%&amp;gt;.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="28573"&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 Dave! This helped so much!</description><pubDate>Thu, 02 Apr 2020 20:40:17 GMT</pubDate><dc:creator>kk1132</dc:creator></item><item><title>RE: How to get input from participants and use it as value.</title><link>https://forums.millisecond.com/Topic28573.aspx</link><description>&lt;blockquote data-id="28570" class="if-quote-wrapper" unselectable="on" data-guid="1584706869352" id="if_insertedNode_1584706868430" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="28570" 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="28570" 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="28570" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;kk1132 - 3/20/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-28570"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I am new to Inquisit programming and I was wondering how to get input from participants and use it as value.&amp;nbsp;&lt;br/&gt;So, simply saying, at the beginning of the program, participants will be asked to input their name, and then they will see this as stimulus/values as the program goes on.&lt;br/&gt;&lt;br/&gt;For example,&amp;nbsp;&lt;br/&gt;at the beginning there will be text box where participants will be asked to type their name. (I think I can do this by using openended element?,,) Then, there will be page showing "Welcome XXX (whatever they typed in the box)."&amp;nbsp;&lt;br/&gt;How would you code this?&lt;br/&gt;&lt;br/&gt;I know this can be very simple and easy for you all. I am new to this and trying to get a sense of this. I have read the tutorial and tried to search any previous posts but still no good news. Once I know how this can be coded, I think I will be good to go further! I'd really appreciate it if you can help me with this!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="28570"&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;&amp;lt;block example&amp;gt;&lt;br/&gt;/ trials = [1=enter_name; 2=welcome]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ yourname = ""&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended enter_name&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.yourname = openended.enter_name.response;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=name_prompt]&lt;br/&gt;/ position = (50%, 60%)&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text name_prompt&amp;gt;&lt;br/&gt;/ items = ("Please enter your name")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial welcome&amp;gt;&lt;br/&gt;/ stimulusframes = [1=welcome_msg]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text welcome_msg&amp;gt;&lt;br/&gt;/ items = ("Welcome, &amp;lt;%values.yourname%&amp;gt;.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 20 Mar 2020 12:24:37 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>