﻿<?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  » Pipe in entered text</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 08 Jun 2026 08:17:39 GMT</lastBuildDate><ttl>20</ttl><item><title>Pipe in entered text</title><link>https://forums.millisecond.com/Topic36328.aspx</link><description>Hi, I have a script where I ask participants to make a choice on a multiple choice question. They are also given the option to select "Other (please specify)" and enter text. Later in the script, I want to pipe in their selected choice, or the entered text if participants select "Other (please specify)". Currently, the script I have pipe in "Other (please specify)"&amp;nbsp;instead of the entered text. Could you please let me know how to pipe in what participants actually enter, if they select the option&amp;nbsp;"Other (please specify)?" Thank you!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Attached is the script. I think the code relevant are lines 243-259. Thank you!&amp;nbsp;</description><pubDate>Wed, 26 Jun 2024 15:14:30 GMT</pubDate><dc:creator>Libra</dc:creator></item><item><title>RE: Pipe in entered text</title><link>https://forums.millisecond.com/Topic36330.aspx</link><description>Got it! Thank you for your prompt help, Dave!&amp;nbsp;</description><pubDate>Wed, 26 Jun 2024 15:14:30 GMT</pubDate><dc:creator>Libra</dc:creator></item><item><title>RE: Pipe in entered text</title><link>https://forums.millisecond.com/Topic36329.aspx</link><description>&lt;blockquote data-id="36328" class="if-quote-wrapper" unselectable="on" data-guid="1719414026986" contenteditable="false" id="if_insertedNode_1719414026015"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36328" 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="36328" 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="36328" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Libra - 6/26/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-36328"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi, I have a script where I ask participants to make a choice on a multiple choice question. They are also given the option to select "Other (please specify)" and enter text. Later in the script, I want to pipe in their selected choice, or the entered text if participants select "Other (please specify)". Currently, the script I have pipe in "Other (please specify)"&amp;nbsp;instead of the entered text. Could you please let me know how to pipe in what participants actually enter, if they select the option&amp;nbsp;"Other (please specify)?" Thank you!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Attached is the script. I think the code relevant are lines 243-259. Thank you!&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="36328"&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;surveypage chatGPT2&amp;gt;&lt;br/&gt;/ skip = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return (values.quit);&lt;br/&gt;]&lt;br/&gt;/ caption = ""&lt;br/&gt;/ subcaption = ""&lt;br/&gt;/ questions = [1 = AI]&lt;br/&gt;/ showBackButton = false&lt;br/&gt;/ onTrialEnd = [&lt;br/&gt;&amp;nbsp; values.AI = radiobuttons.AI.response;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (values.AI == "other"){&lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.AI = textbox.AIOther.response;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (values.AI == ""){&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.quit = 1; //no responses (if allowed) should also terminate the script&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;]&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ subcaptionfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ navigationbuttonsize = (15%, 5%)&lt;br/&gt;/ nextbuttonposition = (70%, 90%)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;is wrong and needs to read:&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage chatGPT2&amp;gt;&lt;br/&gt;/ skip = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return (values.quit);&lt;br/&gt;]&lt;br/&gt;/ caption = ""&lt;br/&gt;/ subcaption = ""&lt;br/&gt;/ questions = [1 = AI]&lt;br/&gt;/ showBackButton = false&lt;br/&gt;/ onTrialEnd = [&lt;br/&gt;&amp;nbsp; values.AI = radiobuttons.AI.response;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.AI == "Other (please specify):"){&lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.AI = textbox.AIOther.response;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (values.AI == ""){&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.quit = 1; //no responses (if allowed) should also terminate the script&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;]&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ subcaptionfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ navigationbuttonsize = (15%, 5%)&lt;br/&gt;/ nextbuttonposition = (70%, 90%)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;</description><pubDate>Wed, 26 Jun 2024 15:01:34 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>