﻿<?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  » Populating Question 2 with response to Question 1</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 12:52:26 GMT</lastBuildDate><ttl>20</ttl><item><title>Populating Question 2 with response to Question 1</title><link>https://forums.millisecond.com/Topic26804.aspx</link><description>I am running into difficulties coding a set of questions in Inquisit 4. The first question asks participants their political affiliation (Democrat, Republican, Independent, Other). I then want two things to occur:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;1) I would like their response to this question to then populate the follow-up question: Would you call yourself a Strong &amp;lt;% response %&amp;gt; or a Not very strong &amp;lt;% response %&amp;gt;.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;2) I would like this question to only appear for those who responded with Democrat or Republican to the first question, and not to appear for those who responded Independent or Other.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Suggestions on how I could make these statements appear under these conditions?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thanks-MB</description><pubDate>Mon, 15 Apr 2019 17:33:45 GMT</pubDate><dc:creator>mb194503</dc:creator></item><item><title>RE: Populating Question 2 with response to Question 1</title><link>https://forums.millisecond.com/Topic26808.aspx</link><description>&lt;div data-id="26806" class="if-quote-wrapper" unselectable="on" data-guid="1555374783389"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26806" 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="26806" 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="26806" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, April 15, 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-26806"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26804" class="if-quote-wrapper" unselectable="on" data-guid="1555374783389"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26804" 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="26804" 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="26804" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;mb194503 - Monday, April 15, 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-26804"&gt;&lt;div class="if-quote-message-margin"&gt;I am running into difficulties coding a set of questions in Inquisit 4. The first question asks participants their political affiliation (Democrat, Republican, Independent, Other). I then want two things to occur:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;1) I would like their response to this question to then populate the follow-up question: Would you call yourself a Strong &amp;lt;% response %&amp;gt; or a Not very strong &amp;lt;% response %&amp;gt;.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;2) I would like this question to only appear for those who responded with Democrat or Republican to the first question, and not to appear for those who responded Independent or Other.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Suggestions on how I could make these statements appear under these conditions?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thanks-MB&lt;a class="if-quote-goto quote-link" href="#" data-id="26804"&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;This should be pretty straightforward actually:&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=pg1]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg1&amp;gt;&lt;br/&gt;/ questions = [1=political_affiliation]&lt;br/&gt;/ branch = [if (radiobuttons.political_affiliation.response == "Democrat" || radiobuttons.political_affiliation.response == "Republican") surveypage.pg1a]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg1a&amp;gt;&lt;br/&gt;/ questions = [1=pa_strength]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons political_affiliation&amp;gt;&lt;br/&gt;/ caption = "Your political affiliation:"&lt;br/&gt;/ options = ("Democrat", "Republican", "Independent", "Other")&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons pa_strength&amp;gt;&lt;br/&gt;/ caption = "Would you consider yourself a strong &amp;lt;%radiobuttons.political_affiliation.response%&amp;gt; or not a very strong &amp;lt;%radiobuttons.political_affiliation.response%&amp;gt;?"&lt;br/&gt;/ options = ("Very Strong", "Strong", "Not very Strong")&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26806"&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, that worked! I did not realize that the radiobuttons component needed to be added to the caption for the second question. --MB</description><pubDate>Mon, 15 Apr 2019 17:33:45 GMT</pubDate><dc:creator>mb194503</dc:creator></item><item><title>RE: Populating Question 2 with response to Question 1</title><link>https://forums.millisecond.com/Topic26806.aspx</link><description>&lt;div data-id="26804" class="if-quote-wrapper" unselectable="on" data-guid="1555369906245"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26804" 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="26804" 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="26804" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;mb194503 - Monday, April 15, 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-26804"&gt;&lt;div class="if-quote-message-margin"&gt;I am running into difficulties coding a set of questions in Inquisit 4. The first question asks participants their political affiliation (Democrat, Republican, Independent, Other). I then want two things to occur:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;1) I would like their response to this question to then populate the follow-up question: Would you call yourself a Strong &amp;lt;% response %&amp;gt; or a Not very strong &amp;lt;% response %&amp;gt;.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;2) I would like this question to only appear for those who responded with Democrat or Republican to the first question, and not to appear for those who responded Independent or Other.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Suggestions on how I could make these statements appear under these conditions?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thanks-MB&lt;a class="if-quote-goto quote-link" href="#" data-id="26804"&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;This should be pretty straightforward actually:&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=pg1]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg1&amp;gt;&lt;br/&gt;/ questions = [1=political_affiliation]&lt;br/&gt;/ branch = [if (radiobuttons.political_affiliation.response == "Democrat" || radiobuttons.political_affiliation.response == "Republican") surveypage.pg1a]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg1a&amp;gt;&lt;br/&gt;/ questions = [1=pa_strength]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons political_affiliation&amp;gt;&lt;br/&gt;/ caption = "Your political affiliation:"&lt;br/&gt;/ options = ("Democrat", "Republican", "Independent", "Other")&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons pa_strength&amp;gt;&lt;br/&gt;/ caption = "Would you consider yourself a strong &amp;lt;%radiobuttons.political_affiliation.response%&amp;gt; or not a very strong &amp;lt;%radiobuttons.political_affiliation.response%&amp;gt;?"&lt;br/&gt;/ options = ("Very Strong", "Strong", "Not very Strong")&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 15 Apr 2019 16:18:55 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>