﻿<?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  » Randomization with conditions?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 26 May 2026 02:18:06 GMT</lastBuildDate><ttl>20</ttl><item><title>Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39309.aspx</link><description>I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;</description><pubDate>Fri, 25 Apr 2025 19:45:42 GMT</pubDate><dc:creator>wmfang</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39329.aspx</link><description>&lt;blockquote data-id="39321" class="if-quote-wrapper" unselectable="on" data-guid="1745610184171" contenteditable="false" id="if_insertedNode_1745610182598"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39321" 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="39321" 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="39321" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39321"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39319" class="if-quote-wrapper" unselectable="on" data-guid="1745610184171" contenteditable="false" id="if_insertedNode_1745451139550"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39319" 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="39319" 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="39319" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39319"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39317" class="if-quote-wrapper" unselectable="on" data-guid="1745610184171" contenteditable="false" id="if_insertedNode_1745447242475"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39317" 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="39317" 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="39317" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39317"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39316" class="if-quote-wrapper" unselectable="on" data-guid="1745610184171" contenteditable="false" id="if_insertedNode_1745446735183"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39316" 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="39316" 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="39316" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39316"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39315" class="if-quote-wrapper" unselectable="on" data-guid="1745610184171" contenteditable="false" id="if_insertedNode_1745445508734"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39315" 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="39315" 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="39315" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39315"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39314" class="if-quote-wrapper" unselectable="on" data-guid="1745610184171" contenteditable="false" id="if_insertedNode_1745445085766"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39314" 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="39314" 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="39314" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39314"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39313" class="if-quote-wrapper" unselectable="on" data-guid="1745610184171" contenteditable="false" id="if_insertedNode_1745444439955"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39313" 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="39313" 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="39313" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39313"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39311" class="if-quote-wrapper" unselectable="on" data-guid="1745610184171" contenteditable="false" id="if_insertedNode_1745443775560"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39311" 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="39311" 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="39311" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39311"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745610184171" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.&lt;a class="if-quote-goto quote-link" href="#" data-id="39311"&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;As seen in the screenshot, there are 16 possible profiles (1 per row). The profiles are from 1 of 4 &lt;strong&gt;Location&lt;/strong&gt;, high or low in &lt;strong&gt;Economic&lt;/strong&gt;, high or low in &lt;strong&gt;Social&lt;/strong&gt;. I have created all 16 of these profiles in Inquisit as &amp;lt;surveypages&amp;gt; titled "high_econ_low_social_AR," etc.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Of these 16 profiles, I would like to present 8 profiles to each subject/participant.&lt;br/&gt; &lt;br/&gt;I would like the 8 profiles to be randomly selected, however, they must align with these conditions: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic,&lt;br/&gt;- 4 should be high in Social, 4 should be low in Social&lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles&lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles&lt;br/&gt;&lt;br/&gt;Or in other words, the 8 profiles shown to participants should comprise of:&amp;nbsp;&lt;br/&gt;- 4 high in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 of the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- 4 low in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- The 4 high in &lt;strong&gt;Social&lt;/strong&gt; profiles should also each be from 1 of the 4 &lt;strong&gt;Locations&lt;/strong&gt; (no repeat). Same for the 4 low in &lt;strong&gt;Social&lt;/strong&gt; profiles.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope I explained it more clearly here. &lt;a class="if-quote-goto quote-link" href="#" data-id="39313"&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;Post at least one full example of a profie, i.e. the surveypage and anything it displays.&lt;a class="if-quote-goto quote-link" href="#" data-id="39314"&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;&lt;br/&gt;&lt;br/&gt;&lt;img src="https://forums.millisecond.com/Uploads/Images/09d09e85-a5f2-42be-ac0d-f235.png" data-download-url="../Uploads/Images/3cd1aa6f-e9c9-4750-a277-d95c.png" id="if_insertedNode_1745445126847"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/989eb7bb-9f13-48cf-b63e-ab4b.png" data-download-url="../Uploads/Images/ccee5a45-c09c-4af5-937a-8eee.png" id="if_insertedNode_1745445257035"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39315"&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;I asked for everything. That means the surveypage and any and all elements it dispalys. The question elements, the &amp;lt;image&amp;gt; elements, any &amp;lt;text&amp;gt; elements, &amp;lt;picture&amp;gt; etc.&lt;br/&gt;&lt;br/&gt;That includes any files as well.&lt;br/&gt;&lt;br/&gt;Point being, it does not make any sense whatsoever to define a separate surveypage etc. for each and every econ status / social status / location combination.&lt;br/&gt;&lt;br/&gt;You need at most 8 surveypages: high_econ_high_social_A, high_econ_high_social_B, high_econ_low_social_C, high_econ_low_social_D, low_econ_low_social_A, low_econ_low_social_B, low_econ_high_social_C, low_econ_high_social_C.&lt;br/&gt;&lt;br/&gt;A, B, C, and D are the location, for which you just use variables. The logic of this whole thing dictates that a location randomly selected for a high/high trial MUST then also be used in a low/low trial.&lt;a class="if-quote-goto quote-link" href="#" data-id="39316"&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 high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text schoolText_high_columbia&amp;gt;&lt;br/&gt;/ items = ("Columbia University in the ~nCity of New York")&lt;br/&gt;/ position = (64%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text companyText_high_perkins&amp;gt;&lt;br/&gt;/ items = ("Perkins Coie LLP")&lt;br/&gt;/ position = (64%, 52%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text followersText&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(2000, 5000)) %&amp;gt; followers")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_high&amp;gt;&lt;br/&gt;/ items = ("500+ connections")&lt;br/&gt;/ position = (30%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_low&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(0, 150)) %&amp;gt; connections")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape dot_high&amp;gt;&lt;br/&gt;/ shape = circle&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ position = (29%, 65%)&lt;br/&gt;/ size = (7, 7)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text locationText_ID&amp;gt;&lt;br/&gt;/ items = ("Boise, ID")&lt;br/&gt;/ position = (20%, 61%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = dimgrey&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text occupationText_high_JD&amp;gt;&lt;br/&gt;/ items = ("Associate, J.D.")&lt;br/&gt;/ position = (20%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;slider slider_bar&amp;gt;&lt;br/&gt;/ labels=("Low status", "High status")&lt;br/&gt;/ range = (0, 100)&lt;br/&gt;/ showticks = false&lt;br/&gt;/ slidersize = (70%, 15%)&lt;br/&gt;/ position = (10%, 80%)&lt;br/&gt;/ responsefontstyle = ("Arial", 3%, false, false, false, false, 5, 0)&lt;br/&gt;&amp;lt;/slider&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image schoolImage_columbia&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/SCHOOL/columbia.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 56%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image companyImage_perkins&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_PROFILES_INQUISIT/company/perkins_coie.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 50%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image profileImage&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/profile_IMAGE/profile_CROPPED.png")&lt;br/&gt;/ imagesize = (20, 20)&lt;br/&gt;/ position = (25%, 30%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image backgroundImage_ID_1&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/BACKGROUND/boise_id_1_cropped.png")&lt;br/&gt;/ imagesize = (60, 60)&lt;br/&gt;/ position = (20%, 10%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = white&lt;br/&gt;/ size = (80%, 70%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background_outer&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = navy&lt;br/&gt;/ size = (81%, 71%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape nameImage&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = lightgrey&lt;br/&gt;/ size = (20%, 5%)&lt;br/&gt;/ position = (30%,53%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;img src="../Uploads/Images/3e2f72f2-b4eb-4dcb-ba64-93f3.png" data-download-url="../Uploads/Images/d8341a41-5181-4de2-9c0c-6810.png" id="if_insertedNode_1745446985008"&gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/00553259-2fba-4e14-86da-6afa.png" id="if_insertedNode_1745447012639"&gt;&lt;img src="../Uploads/Images/0af6bb73-c01d-48fd-b97a-7c22.png" data-download-url="../Uploads/Images/803c0baa-e2c7-4a5e-9433-53dc.png" id="if_insertedNode_1745447027707"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39317"&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;Those aren't all files.&lt;br/&gt;&lt;br/&gt;Can you please just put them in a ZIP and then attach it. Thanks.&lt;a class="if-quote-goto quote-link" href="#" data-id="39319"&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;Anyhow: Since you already have all the surveypages and I don't feel like rewriting the whole thing from scratch, here's how you can make do with what you have.&lt;br/&gt;&lt;br/&gt;(1) Arrange all the surveypages into &amp;lt;list&amp;gt;s by trial type -- hi/hi, lo/lo, hi/lo, lo/hi -- ordered alphabetically by location.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;list hi_hi&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.high_econ_high_social_AR, surveypage.high_econ_high_social_ID, &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.high_econ_high_social_SC, surveypage.high_econ_high_social_TN)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list lo_lo&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp; surveypage.low_econ_low_social_AR, surveypage.low_econ_low_social_ID,&lt;br/&gt;&amp;nbsp; surveypage.low_econ_low_social_SC, surveypage.low_econ_low_social_TN)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list hi_lo&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.high_econ_low_social_AR, surveypage.high_econ_low_social_ID, &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.high_econ_low_social_SC, surveypage.high_econ_low_social_TN)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list lo_hi&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.low_econ_high_social_AR, surveypage.low_econ_high_social_ID, &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.low_econ_high_social_SC, surveypage.low_econ_high_social_TN)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;[/code]&lt;br/&gt;&lt;br/&gt;(2) Create a &amp;lt;list&amp;gt; of the 4 locations (alphabetical order).&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;list locations&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"AR", "ID",&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"SC", "TN")&lt;br/&gt;/ selectionrate = always&lt;br/&gt;&amp;lt;/list&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;(3) Create an empty &amp;lt;list&amp;gt; to hold the pages we'll end up selecting and actually running.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;list trialList&amp;gt;&lt;br/&gt;&amp;lt;/list&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;(4) Poplulate that list /onBlockBegin and then run it.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;block exampleBlock&amp;gt;&lt;br/&gt;/ onBlockBegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// pick location for hi_hi #1 &amp;amp; lo_lo #1&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var loc = list.locations.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.hi_hi.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.lo_lo.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// pick location for hi_hi #2 &amp;amp; lo_lo #2&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;loc = list.locations.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.hi_hi.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.lo_lo.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// pick location for hi_lo #1 &amp;amp; lo_hi #1&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;loc = list.locations.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.hi_lo.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.lo_hi.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// pick location for hi_lo #2 &amp;amp; lo_hi #2&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;loc = list.locations.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.hi_lo.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.lo_hi.item(loc));&lt;br/&gt;]&lt;br/&gt;/ trials = [1-8 = list.trialList]&lt;br/&gt;&amp;lt;/block&amp;gt;[/code]&lt;a class="if-quote-goto quote-link" href="#" data-id="39321"&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 very helpful. </description><pubDate>Fri, 25 Apr 2025 19:45:42 GMT</pubDate><dc:creator>wmfang</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39321.aspx</link><description>&lt;blockquote data-id="39319" class="if-quote-wrapper" unselectable="on" data-guid="1745451140632" contenteditable="false" id="if_insertedNode_1745451139550"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39319" 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="39319" 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="39319" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39319"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39317" class="if-quote-wrapper" unselectable="on" data-guid="1745451140632" contenteditable="false" id="if_insertedNode_1745447242475"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39317" 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="39317" 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="39317" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39317"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39316" class="if-quote-wrapper" unselectable="on" data-guid="1745451140632" contenteditable="false" id="if_insertedNode_1745446735183"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39316" 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="39316" 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="39316" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39316"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39315" class="if-quote-wrapper" unselectable="on" data-guid="1745451140632" contenteditable="false" id="if_insertedNode_1745445508734"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39315" 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="39315" 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="39315" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39315"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39314" class="if-quote-wrapper" unselectable="on" data-guid="1745451140632" contenteditable="false" id="if_insertedNode_1745445085766"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39314" 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="39314" 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="39314" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39314"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39313" class="if-quote-wrapper" unselectable="on" data-guid="1745451140632" contenteditable="false" id="if_insertedNode_1745444439955"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39313" 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="39313" 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="39313" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39313"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39311" class="if-quote-wrapper" unselectable="on" data-guid="1745451140632" contenteditable="false" id="if_insertedNode_1745443775560"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39311" 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="39311" 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="39311" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39311"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745451140632" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.&lt;a class="if-quote-goto quote-link" href="#" data-id="39311"&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;As seen in the screenshot, there are 16 possible profiles (1 per row). The profiles are from 1 of 4 &lt;strong&gt;Location&lt;/strong&gt;, high or low in &lt;strong&gt;Economic&lt;/strong&gt;, high or low in &lt;strong&gt;Social&lt;/strong&gt;. I have created all 16 of these profiles in Inquisit as &amp;lt;surveypages&amp;gt; titled "high_econ_low_social_AR," etc.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Of these 16 profiles, I would like to present 8 profiles to each subject/participant.&lt;br/&gt; &lt;br/&gt;I would like the 8 profiles to be randomly selected, however, they must align with these conditions: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic,&lt;br/&gt;- 4 should be high in Social, 4 should be low in Social&lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles&lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles&lt;br/&gt;&lt;br/&gt;Or in other words, the 8 profiles shown to participants should comprise of:&amp;nbsp;&lt;br/&gt;- 4 high in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 of the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- 4 low in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- The 4 high in &lt;strong&gt;Social&lt;/strong&gt; profiles should also each be from 1 of the 4 &lt;strong&gt;Locations&lt;/strong&gt; (no repeat). Same for the 4 low in &lt;strong&gt;Social&lt;/strong&gt; profiles.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope I explained it more clearly here. &lt;a class="if-quote-goto quote-link" href="#" data-id="39313"&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;Post at least one full example of a profie, i.e. the surveypage and anything it displays.&lt;a class="if-quote-goto quote-link" href="#" data-id="39314"&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;&lt;br/&gt;&lt;br/&gt;&lt;img src="https://forums.millisecond.com/Uploads/Images/09d09e85-a5f2-42be-ac0d-f235.png" data-download-url="../Uploads/Images/3cd1aa6f-e9c9-4750-a277-d95c.png" id="if_insertedNode_1745445126847"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/989eb7bb-9f13-48cf-b63e-ab4b.png" data-download-url="../Uploads/Images/ccee5a45-c09c-4af5-937a-8eee.png" id="if_insertedNode_1745445257035"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39315"&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;I asked for everything. That means the surveypage and any and all elements it dispalys. The question elements, the &amp;lt;image&amp;gt; elements, any &amp;lt;text&amp;gt; elements, &amp;lt;picture&amp;gt; etc.&lt;br/&gt;&lt;br/&gt;That includes any files as well.&lt;br/&gt;&lt;br/&gt;Point being, it does not make any sense whatsoever to define a separate surveypage etc. for each and every econ status / social status / location combination.&lt;br/&gt;&lt;br/&gt;You need at most 8 surveypages: high_econ_high_social_A, high_econ_high_social_B, high_econ_low_social_C, high_econ_low_social_D, low_econ_low_social_A, low_econ_low_social_B, low_econ_high_social_C, low_econ_high_social_C.&lt;br/&gt;&lt;br/&gt;A, B, C, and D are the location, for which you just use variables. The logic of this whole thing dictates that a location randomly selected for a high/high trial MUST then also be used in a low/low trial.&lt;a class="if-quote-goto quote-link" href="#" data-id="39316"&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 high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text schoolText_high_columbia&amp;gt;&lt;br/&gt;/ items = ("Columbia University in the ~nCity of New York")&lt;br/&gt;/ position = (64%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text companyText_high_perkins&amp;gt;&lt;br/&gt;/ items = ("Perkins Coie LLP")&lt;br/&gt;/ position = (64%, 52%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text followersText&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(2000, 5000)) %&amp;gt; followers")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_high&amp;gt;&lt;br/&gt;/ items = ("500+ connections")&lt;br/&gt;/ position = (30%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_low&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(0, 150)) %&amp;gt; connections")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape dot_high&amp;gt;&lt;br/&gt;/ shape = circle&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ position = (29%, 65%)&lt;br/&gt;/ size = (7, 7)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text locationText_ID&amp;gt;&lt;br/&gt;/ items = ("Boise, ID")&lt;br/&gt;/ position = (20%, 61%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = dimgrey&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text occupationText_high_JD&amp;gt;&lt;br/&gt;/ items = ("Associate, J.D.")&lt;br/&gt;/ position = (20%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;slider slider_bar&amp;gt;&lt;br/&gt;/ labels=("Low status", "High status")&lt;br/&gt;/ range = (0, 100)&lt;br/&gt;/ showticks = false&lt;br/&gt;/ slidersize = (70%, 15%)&lt;br/&gt;/ position = (10%, 80%)&lt;br/&gt;/ responsefontstyle = ("Arial", 3%, false, false, false, false, 5, 0)&lt;br/&gt;&amp;lt;/slider&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image schoolImage_columbia&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/SCHOOL/columbia.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 56%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image companyImage_perkins&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_PROFILES_INQUISIT/company/perkins_coie.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 50%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image profileImage&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/profile_IMAGE/profile_CROPPED.png")&lt;br/&gt;/ imagesize = (20, 20)&lt;br/&gt;/ position = (25%, 30%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image backgroundImage_ID_1&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/BACKGROUND/boise_id_1_cropped.png")&lt;br/&gt;/ imagesize = (60, 60)&lt;br/&gt;/ position = (20%, 10%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = white&lt;br/&gt;/ size = (80%, 70%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background_outer&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = navy&lt;br/&gt;/ size = (81%, 71%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape nameImage&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = lightgrey&lt;br/&gt;/ size = (20%, 5%)&lt;br/&gt;/ position = (30%,53%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;img src="../Uploads/Images/3e2f72f2-b4eb-4dcb-ba64-93f3.png" data-download-url="../Uploads/Images/d8341a41-5181-4de2-9c0c-6810.png" id="if_insertedNode_1745446985008"&gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/00553259-2fba-4e14-86da-6afa.png" id="if_insertedNode_1745447012639"&gt;&lt;img src="../Uploads/Images/0af6bb73-c01d-48fd-b97a-7c22.png" data-download-url="../Uploads/Images/803c0baa-e2c7-4a5e-9433-53dc.png" id="if_insertedNode_1745447027707"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39317"&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;Those aren't all files.&lt;br/&gt;&lt;br/&gt;Can you please just put them in a ZIP and then attach it. Thanks.&lt;a class="if-quote-goto quote-link" href="#" data-id="39319"&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;Anyhow: Since you already have all the surveypages and I don't feel like rewriting the whole thing from scratch, here's how you can make do with what you have.&lt;br/&gt;&lt;br/&gt;(1) Arrange all the surveypages into &amp;lt;list&amp;gt;s by trial type -- hi/hi, lo/lo, hi/lo, lo/hi -- ordered alphabetically by location.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;list hi_hi&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.high_econ_high_social_AR, surveypage.high_econ_high_social_ID, &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.high_econ_high_social_SC, surveypage.high_econ_high_social_TN)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list lo_lo&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp; surveypage.low_econ_low_social_AR, surveypage.low_econ_low_social_ID,&lt;br/&gt;&amp;nbsp; surveypage.low_econ_low_social_SC, surveypage.low_econ_low_social_TN)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list hi_lo&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.high_econ_low_social_AR, surveypage.high_econ_low_social_ID, &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.high_econ_low_social_SC, surveypage.high_econ_low_social_TN)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list lo_hi&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.low_econ_high_social_AR, surveypage.low_econ_high_social_ID, &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;surveypage.low_econ_high_social_SC, surveypage.low_econ_high_social_TN)&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;[/code]&lt;br/&gt;&lt;br/&gt;(2) Create a &amp;lt;list&amp;gt; of the 4 locations (alphabetical order).&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;list locations&amp;gt;&lt;br/&gt;/ items = (&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"AR", "ID",&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"SC", "TN")&lt;br/&gt;/ selectionrate = always&lt;br/&gt;&amp;lt;/list&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;(3) Create an empty &amp;lt;list&amp;gt; to hold the pages we'll end up selecting and actually running.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;list trialList&amp;gt;&lt;br/&gt;&amp;lt;/list&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;(4) Poplulate that list /onBlockBegin and then run it.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;block exampleBlock&amp;gt;&lt;br/&gt;/ onBlockBegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// pick location for hi_hi #1 &amp;amp; lo_lo #1&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var loc = list.locations.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.hi_hi.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.lo_lo.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// pick location for hi_hi #2 &amp;amp; lo_lo #2&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;loc = list.locations.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.hi_hi.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.lo_lo.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// pick location for hi_lo #1 &amp;amp; lo_hi #1&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;loc = list.locations.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.hi_lo.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.lo_hi.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// pick location for hi_lo #2 &amp;amp; lo_hi #2&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;loc = list.locations.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.hi_lo.item(loc));&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.trialList.appenditem(list.lo_hi.item(loc));&lt;br/&gt;]&lt;br/&gt;/ trials = [1-8 = list.trialList]&lt;br/&gt;&amp;lt;/block&amp;gt;[/code]</description><pubDate>Wed, 23 Apr 2025 23:41:53 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39319.aspx</link><description>&lt;blockquote data-id="39317" class="if-quote-wrapper" unselectable="on" data-guid="1745447243528" contenteditable="false" id="if_insertedNode_1745447242475"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39317" 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="39317" 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="39317" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39317"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39316" class="if-quote-wrapper" unselectable="on" data-guid="1745447243528" contenteditable="false" id="if_insertedNode_1745446735183"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39316" 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="39316" 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="39316" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39316"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39315" class="if-quote-wrapper" unselectable="on" data-guid="1745447243528" contenteditable="false" id="if_insertedNode_1745445508734"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39315" 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="39315" 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="39315" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39315"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39314" class="if-quote-wrapper" unselectable="on" data-guid="1745447243528" contenteditable="false" id="if_insertedNode_1745445085766"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39314" 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="39314" 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="39314" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39314"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39313" class="if-quote-wrapper" unselectable="on" data-guid="1745447243528" contenteditable="false" id="if_insertedNode_1745444439955"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39313" 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="39313" 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="39313" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39313"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39311" class="if-quote-wrapper" unselectable="on" data-guid="1745447243528" contenteditable="false" id="if_insertedNode_1745443775560"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39311" 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="39311" 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="39311" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39311"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745447243528" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.&lt;a class="if-quote-goto quote-link" href="#" data-id="39311"&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;As seen in the screenshot, there are 16 possible profiles (1 per row). The profiles are from 1 of 4 &lt;strong&gt;Location&lt;/strong&gt;, high or low in &lt;strong&gt;Economic&lt;/strong&gt;, high or low in &lt;strong&gt;Social&lt;/strong&gt;. I have created all 16 of these profiles in Inquisit as &amp;lt;surveypages&amp;gt; titled "high_econ_low_social_AR," etc.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Of these 16 profiles, I would like to present 8 profiles to each subject/participant.&lt;br/&gt; &lt;br/&gt;I would like the 8 profiles to be randomly selected, however, they must align with these conditions: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic,&lt;br/&gt;- 4 should be high in Social, 4 should be low in Social&lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles&lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles&lt;br/&gt;&lt;br/&gt;Or in other words, the 8 profiles shown to participants should comprise of:&amp;nbsp;&lt;br/&gt;- 4 high in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 of the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- 4 low in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- The 4 high in &lt;strong&gt;Social&lt;/strong&gt; profiles should also each be from 1 of the 4 &lt;strong&gt;Locations&lt;/strong&gt; (no repeat). Same for the 4 low in &lt;strong&gt;Social&lt;/strong&gt; profiles.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope I explained it more clearly here. &lt;a class="if-quote-goto quote-link" href="#" data-id="39313"&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;Post at least one full example of a profie, i.e. the surveypage and anything it displays.&lt;a class="if-quote-goto quote-link" href="#" data-id="39314"&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;&lt;br/&gt;&lt;br/&gt;&lt;img src="https://forums.millisecond.com/Uploads/Images/09d09e85-a5f2-42be-ac0d-f235.png" data-download-url="../Uploads/Images/3cd1aa6f-e9c9-4750-a277-d95c.png" id="if_insertedNode_1745445126847"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/989eb7bb-9f13-48cf-b63e-ab4b.png" data-download-url="../Uploads/Images/ccee5a45-c09c-4af5-937a-8eee.png" id="if_insertedNode_1745445257035"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39315"&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;I asked for everything. That means the surveypage and any and all elements it dispalys. The question elements, the &amp;lt;image&amp;gt; elements, any &amp;lt;text&amp;gt; elements, &amp;lt;picture&amp;gt; etc.&lt;br/&gt;&lt;br/&gt;That includes any files as well.&lt;br/&gt;&lt;br/&gt;Point being, it does not make any sense whatsoever to define a separate surveypage etc. for each and every econ status / social status / location combination.&lt;br/&gt;&lt;br/&gt;You need at most 8 surveypages: high_econ_high_social_A, high_econ_high_social_B, high_econ_low_social_C, high_econ_low_social_D, low_econ_low_social_A, low_econ_low_social_B, low_econ_high_social_C, low_econ_high_social_C.&lt;br/&gt;&lt;br/&gt;A, B, C, and D are the location, for which you just use variables. The logic of this whole thing dictates that a location randomly selected for a high/high trial MUST then also be used in a low/low trial.&lt;a class="if-quote-goto quote-link" href="#" data-id="39316"&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 high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text schoolText_high_columbia&amp;gt;&lt;br/&gt;/ items = ("Columbia University in the ~nCity of New York")&lt;br/&gt;/ position = (64%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text companyText_high_perkins&amp;gt;&lt;br/&gt;/ items = ("Perkins Coie LLP")&lt;br/&gt;/ position = (64%, 52%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text followersText&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(2000, 5000)) %&amp;gt; followers")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_high&amp;gt;&lt;br/&gt;/ items = ("500+ connections")&lt;br/&gt;/ position = (30%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_low&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(0, 150)) %&amp;gt; connections")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape dot_high&amp;gt;&lt;br/&gt;/ shape = circle&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ position = (29%, 65%)&lt;br/&gt;/ size = (7, 7)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text locationText_ID&amp;gt;&lt;br/&gt;/ items = ("Boise, ID")&lt;br/&gt;/ position = (20%, 61%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = dimgrey&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text occupationText_high_JD&amp;gt;&lt;br/&gt;/ items = ("Associate, J.D.")&lt;br/&gt;/ position = (20%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;slider slider_bar&amp;gt;&lt;br/&gt;/ labels=("Low status", "High status")&lt;br/&gt;/ range = (0, 100)&lt;br/&gt;/ showticks = false&lt;br/&gt;/ slidersize = (70%, 15%)&lt;br/&gt;/ position = (10%, 80%)&lt;br/&gt;/ responsefontstyle = ("Arial", 3%, false, false, false, false, 5, 0)&lt;br/&gt;&amp;lt;/slider&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image schoolImage_columbia&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/SCHOOL/columbia.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 56%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image companyImage_perkins&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_PROFILES_INQUISIT/company/perkins_coie.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 50%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image profileImage&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/profile_IMAGE/profile_CROPPED.png")&lt;br/&gt;/ imagesize = (20, 20)&lt;br/&gt;/ position = (25%, 30%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image backgroundImage_ID_1&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/BACKGROUND/boise_id_1_cropped.png")&lt;br/&gt;/ imagesize = (60, 60)&lt;br/&gt;/ position = (20%, 10%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = white&lt;br/&gt;/ size = (80%, 70%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background_outer&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = navy&lt;br/&gt;/ size = (81%, 71%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape nameImage&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = lightgrey&lt;br/&gt;/ size = (20%, 5%)&lt;br/&gt;/ position = (30%,53%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;img src="../Uploads/Images/3e2f72f2-b4eb-4dcb-ba64-93f3.png" data-download-url="../Uploads/Images/d8341a41-5181-4de2-9c0c-6810.png" id="if_insertedNode_1745446985008"&gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/00553259-2fba-4e14-86da-6afa.png" id="if_insertedNode_1745447012639"&gt;&lt;img src="../Uploads/Images/0af6bb73-c01d-48fd-b97a-7c22.png" data-download-url="../Uploads/Images/803c0baa-e2c7-4a5e-9433-53dc.png" id="if_insertedNode_1745447027707"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39317"&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;Those aren't all files.&lt;br/&gt;&lt;br/&gt;Can you please just put them in a ZIP and then attach it. Thanks.</description><pubDate>Wed, 23 Apr 2025 22:29:46 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39318.aspx</link><description>&lt;blockquote data-id="39317" class="if-quote-wrapper" unselectable="on" data-guid="1745447050989" contenteditable="false" id="if_insertedNode_1745447049198"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39317" 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="39317" 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="39317" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39317"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39316" class="if-quote-wrapper" unselectable="on" data-guid="1745447050989" contenteditable="false" id="if_insertedNode_1745446735183"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39316" 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="39316" 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="39316" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39316"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39315" class="if-quote-wrapper" unselectable="on" data-guid="1745447050989" contenteditable="false" id="if_insertedNode_1745445508734"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39315" 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="39315" 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="39315" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39315"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39314" class="if-quote-wrapper" unselectable="on" data-guid="1745447050989" contenteditable="false" id="if_insertedNode_1745445085766"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39314" 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="39314" 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="39314" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39314"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39313" class="if-quote-wrapper" unselectable="on" data-guid="1745447050989" contenteditable="false" id="if_insertedNode_1745444439955"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39313" 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="39313" 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="39313" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39313"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39311" class="if-quote-wrapper" unselectable="on" data-guid="1745447050989" contenteditable="false" id="if_insertedNode_1745443775560"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39311" 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="39311" 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="39311" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39311"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745447050989" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.&lt;a class="if-quote-goto quote-link" href="#" data-id="39311"&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;As seen in the screenshot, there are 16 possible profiles (1 per row). The profiles are from 1 of 4 &lt;strong&gt;Location&lt;/strong&gt;, high or low in &lt;strong&gt;Economic&lt;/strong&gt;, high or low in &lt;strong&gt;Social&lt;/strong&gt;. I have created all 16 of these profiles in Inquisit as &amp;lt;surveypages&amp;gt; titled "high_econ_low_social_AR," etc.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Of these 16 profiles, I would like to present 8 profiles to each subject/participant.&lt;br/&gt; &lt;br/&gt;I would like the 8 profiles to be randomly selected, however, they must align with these conditions: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic,&lt;br/&gt;- 4 should be high in Social, 4 should be low in Social&lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles&lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles&lt;br/&gt;&lt;br/&gt;Or in other words, the 8 profiles shown to participants should comprise of:&amp;nbsp;&lt;br/&gt;- 4 high in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 of the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- 4 low in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- The 4 high in &lt;strong&gt;Social&lt;/strong&gt; profiles should also each be from 1 of the 4 &lt;strong&gt;Locations&lt;/strong&gt; (no repeat). Same for the 4 low in &lt;strong&gt;Social&lt;/strong&gt; profiles.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope I explained it more clearly here. &lt;a class="if-quote-goto quote-link" href="#" data-id="39313"&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;Post at least one full example of a profie, i.e. the surveypage and anything it displays.&lt;a class="if-quote-goto quote-link" href="#" data-id="39314"&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;&lt;br/&gt;&lt;br/&gt;&lt;img src="https://forums.millisecond.com/Uploads/Images/09d09e85-a5f2-42be-ac0d-f235.png" data-download-url="../Uploads/Images/3cd1aa6f-e9c9-4750-a277-d95c.png" id="if_insertedNode_1745445126847"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/989eb7bb-9f13-48cf-b63e-ab4b.png" data-download-url="../Uploads/Images/ccee5a45-c09c-4af5-937a-8eee.png" id="if_insertedNode_1745445257035"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39315"&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;I asked for everything. That means the surveypage and any and all elements it dispalys. The question elements, the &amp;lt;image&amp;gt; elements, any &amp;lt;text&amp;gt; elements, &amp;lt;picture&amp;gt; etc.&lt;br/&gt;&lt;br/&gt;That includes any files as well.&lt;br/&gt;&lt;br/&gt;Point being, it does not make any sense whatsoever to define a separate surveypage etc. for each and every econ status / social status / location combination.&lt;br/&gt;&lt;br/&gt;You need at most 8 surveypages: high_econ_high_social_A, high_econ_high_social_B, high_econ_low_social_C, high_econ_low_social_D, low_econ_low_social_A, low_econ_low_social_B, low_econ_high_social_C, low_econ_high_social_C.&lt;br/&gt;&lt;br/&gt;A, B, C, and D are the location, for which you just use variables. The logic of this whole thing dictates that a location randomly selected for a high/high trial MUST then also be used in a low/low trial.&lt;a class="if-quote-goto quote-link" href="#" data-id="39316"&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 high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text schoolText_high_columbia&amp;gt;&lt;br/&gt;/ items = ("Columbia University in the ~nCity of New York")&lt;br/&gt;/ position = (64%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text companyText_high_perkins&amp;gt;&lt;br/&gt;/ items = ("Perkins Coie LLP")&lt;br/&gt;/ position = (64%, 52%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text followersText&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(2000, 5000)) %&amp;gt; followers")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_high&amp;gt;&lt;br/&gt;/ items = ("500+ connections")&lt;br/&gt;/ position = (30%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_low&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(0, 150)) %&amp;gt; connections")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape dot_high&amp;gt;&lt;br/&gt;/ shape = circle&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ position = (29%, 65%)&lt;br/&gt;/ size = (7, 7)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text locationText_ID&amp;gt;&lt;br/&gt;/ items = ("Boise, ID")&lt;br/&gt;/ position = (20%, 61%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = dimgrey&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text occupationText_high_JD&amp;gt;&lt;br/&gt;/ items = ("Associate, J.D.")&lt;br/&gt;/ position = (20%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;slider slider_bar&amp;gt;&lt;br/&gt;/ labels=("Low status", "High status")&lt;br/&gt;/ range = (0, 100)&lt;br/&gt;/ showticks = false&lt;br/&gt;/ slidersize = (70%, 15%)&lt;br/&gt;/ position = (10%, 80%)&lt;br/&gt;/ responsefontstyle = ("Arial", 3%, false, false, false, false, 5, 0)&lt;br/&gt;&amp;lt;/slider&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image schoolImage_columbia&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/SCHOOL/columbia.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 56%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image companyImage_perkins&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_PROFILES_INQUISIT/company/perkins_coie.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 50%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image profileImage&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/profile_IMAGE/profile_CROPPED.png")&lt;br/&gt;/ imagesize = (20, 20)&lt;br/&gt;/ position = (25%, 30%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image backgroundImage_ID_1&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/BACKGROUND/boise_id_1_cropped.png")&lt;br/&gt;/ imagesize = (60, 60)&lt;br/&gt;/ position = (20%, 10%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = white&lt;br/&gt;/ size = (80%, 70%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background_outer&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = navy&lt;br/&gt;/ size = (81%, 71%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape nameImage&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = lightgrey&lt;br/&gt;/ size = (20%, 5%)&lt;br/&gt;/ position = (30%,53%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;img src="../Uploads/Images/3e2f72f2-b4eb-4dcb-ba64-93f3.png" data-download-url="../Uploads/Images/d8341a41-5181-4de2-9c0c-6810.png" id="if_insertedNode_1745446985008"&gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/00553259-2fba-4e14-86da-6afa.png" id="if_insertedNode_1745447012639"&gt;&lt;img src="../Uploads/Images/0af6bb73-c01d-48fd-b97a-7c22.png" data-download-url="../Uploads/Images/803c0baa-e2c7-4a5e-9433-53dc.png" id="if_insertedNode_1745447027707"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39317"&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;&lt;img src="../Uploads/Images/15e18768-4880-4d78-9524-0a79.png" data-download-url="../Uploads/Images/1d84d9cc-34df-4451-a37a-2d23.png" id="if_insertedNode_1745447063081"&gt;&lt;img src="../Uploads/Images/98fdbda0-9e4c-46b3-806b-e764.png" data-download-url="../Uploads/Images/733f082e-7324-40a2-a7ae-50b7.png" id="if_insertedNode_1745447075818"&gt;&lt;br/&gt;&lt;br/&gt;Sorry, I hit 'Post' too soon, before including these two</description><pubDate>Wed, 23 Apr 2025 22:24:57 GMT</pubDate><dc:creator>wmfang</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39317.aspx</link><description>&lt;blockquote data-id="39316" class="if-quote-wrapper" unselectable="on" data-guid="1745446736457" contenteditable="false" id="if_insertedNode_1745446735183"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39316" 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="39316" 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="39316" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39316"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39315" class="if-quote-wrapper" unselectable="on" data-guid="1745446736457" contenteditable="false" id="if_insertedNode_1745445508734"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39315" 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="39315" 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="39315" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39315"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39314" class="if-quote-wrapper" unselectable="on" data-guid="1745446736457" contenteditable="false" id="if_insertedNode_1745445085766"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39314" 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="39314" 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="39314" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39314"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39313" class="if-quote-wrapper" unselectable="on" data-guid="1745446736457" contenteditable="false" id="if_insertedNode_1745444439955"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39313" 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="39313" 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="39313" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39313"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39311" class="if-quote-wrapper" unselectable="on" data-guid="1745446736457" contenteditable="false" id="if_insertedNode_1745443775560"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39311" 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="39311" 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="39311" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39311"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745446736457" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.&lt;a class="if-quote-goto quote-link" href="#" data-id="39311"&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;As seen in the screenshot, there are 16 possible profiles (1 per row). The profiles are from 1 of 4 &lt;strong&gt;Location&lt;/strong&gt;, high or low in &lt;strong&gt;Economic&lt;/strong&gt;, high or low in &lt;strong&gt;Social&lt;/strong&gt;. I have created all 16 of these profiles in Inquisit as &amp;lt;surveypages&amp;gt; titled "high_econ_low_social_AR," etc.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Of these 16 profiles, I would like to present 8 profiles to each subject/participant.&lt;br/&gt; &lt;br/&gt;I would like the 8 profiles to be randomly selected, however, they must align with these conditions: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic,&lt;br/&gt;- 4 should be high in Social, 4 should be low in Social&lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles&lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles&lt;br/&gt;&lt;br/&gt;Or in other words, the 8 profiles shown to participants should comprise of:&amp;nbsp;&lt;br/&gt;- 4 high in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 of the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- 4 low in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- The 4 high in &lt;strong&gt;Social&lt;/strong&gt; profiles should also each be from 1 of the 4 &lt;strong&gt;Locations&lt;/strong&gt; (no repeat). Same for the 4 low in &lt;strong&gt;Social&lt;/strong&gt; profiles.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope I explained it more clearly here. &lt;a class="if-quote-goto quote-link" href="#" data-id="39313"&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;Post at least one full example of a profie, i.e. the surveypage and anything it displays.&lt;a class="if-quote-goto quote-link" href="#" data-id="39314"&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;&lt;br/&gt;&lt;br/&gt;&lt;img src="https://forums.millisecond.com/Uploads/Images/09d09e85-a5f2-42be-ac0d-f235.png" data-download-url="../Uploads/Images/3cd1aa6f-e9c9-4750-a277-d95c.png" id="if_insertedNode_1745445126847"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/989eb7bb-9f13-48cf-b63e-ab4b.png" data-download-url="../Uploads/Images/ccee5a45-c09c-4af5-937a-8eee.png" id="if_insertedNode_1745445257035"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39315"&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;I asked for everything. That means the surveypage and any and all elements it dispalys. The question elements, the &amp;lt;image&amp;gt; elements, any &amp;lt;text&amp;gt; elements, &amp;lt;picture&amp;gt; etc.&lt;br/&gt;&lt;br/&gt;That includes any files as well.&lt;br/&gt;&lt;br/&gt;Point being, it does not make any sense whatsoever to define a separate surveypage etc. for each and every econ status / social status / location combination.&lt;br/&gt;&lt;br/&gt;You need at most 8 surveypages: high_econ_high_social_A, high_econ_high_social_B, high_econ_low_social_C, high_econ_low_social_D, low_econ_low_social_A, low_econ_low_social_B, low_econ_high_social_C, low_econ_high_social_C.&lt;br/&gt;&lt;br/&gt;A, B, C, and D are the location, for which you just use variables. The logic of this whole thing dictates that a location randomly selected for a high/high trial MUST then also be used in a low/low trial.&lt;a class="if-quote-goto quote-link" href="#" data-id="39316"&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 high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text schoolText_high_columbia&amp;gt;&lt;br/&gt;/ items = ("Columbia University in the ~nCity of New York")&lt;br/&gt;/ position = (64%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text companyText_high_perkins&amp;gt;&lt;br/&gt;/ items = ("Perkins Coie LLP")&lt;br/&gt;/ position = (64%, 52%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text followersText&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(2000, 5000)) %&amp;gt; followers")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_high&amp;gt;&lt;br/&gt;/ items = ("500+ connections")&lt;br/&gt;/ position = (30%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text connectionsText_low&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% round(rand(0, 150)) %&amp;gt; connections")&lt;br/&gt;/ position = (20%, 65%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape dot_high&amp;gt;&lt;br/&gt;/ shape = circle&lt;br/&gt;/ color = steelblue&lt;br/&gt;/ position = (29%, 65%)&lt;br/&gt;/ size = (7, 7)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text locationText_ID&amp;gt;&lt;br/&gt;/ items = ("Boise, ID")&lt;br/&gt;/ position = (20%, 61%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = dimgrey&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text occupationText_high_JD&amp;gt;&lt;br/&gt;/ items = ("Associate, J.D.")&lt;br/&gt;/ position = (20%, 58%)&lt;br/&gt;/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)&lt;br/&gt;/ color = black&lt;br/&gt;/ halign = left&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;slider slider_bar&amp;gt;&lt;br/&gt;/ labels=("Low status", "High status")&lt;br/&gt;/ range = (0, 100)&lt;br/&gt;/ showticks = false&lt;br/&gt;/ slidersize = (70%, 15%)&lt;br/&gt;/ position = (10%, 80%)&lt;br/&gt;/ responsefontstyle = ("Arial", 3%, false, false, false, false, 5, 0)&lt;br/&gt;&amp;lt;/slider&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image schoolImage_columbia&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/SCHOOL/columbia.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 56%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image companyImage_perkins&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_PROFILES_INQUISIT/company/perkins_coie.png")&lt;br/&gt;/ imagesize = (5, 5)&lt;br/&gt;/ position = (60%, 50%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image profileImage&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/profile_IMAGE/profile_CROPPED.png")&lt;br/&gt;/ imagesize = (20, 20)&lt;br/&gt;/ position = (25%, 30%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;image backgroundImage_ID_1&amp;gt;&lt;br/&gt;/ items = ("LINKEDIN_profileS_INQUISIT/BACKGROUND/boise_id_1_cropped.png")&lt;br/&gt;/ imagesize = (60, 60)&lt;br/&gt;/ position = (20%, 10%)&lt;br/&gt;&amp;lt;/image&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = white&lt;br/&gt;/ size = (80%, 70%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape background_outer&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = navy&lt;br/&gt;/ size = (81%, 71%)&lt;br/&gt;/ position = (50%,40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape nameImage&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = lightgrey&lt;br/&gt;/ size = (20%, 5%)&lt;br/&gt;/ position = (30%,53%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;img src="../Uploads/Images/3e2f72f2-b4eb-4dcb-ba64-93f3.png" data-download-url="../Uploads/Images/d8341a41-5181-4de2-9c0c-6810.png" id="if_insertedNode_1745446985008"&gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/00553259-2fba-4e14-86da-6afa.png" id="if_insertedNode_1745447012639"&gt;&lt;img src="../Uploads/Images/0af6bb73-c01d-48fd-b97a-7c22.png" data-download-url="../Uploads/Images/803c0baa-e2c7-4a5e-9433-53dc.png" id="if_insertedNode_1745447027707"&gt;</description><pubDate>Wed, 23 Apr 2025 22:23:48 GMT</pubDate><dc:creator>wmfang</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39316.aspx</link><description>&lt;blockquote data-id="39315" class="if-quote-wrapper" unselectable="on" data-guid="1745445510353" contenteditable="false" id="if_insertedNode_1745445508734"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39315" 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="39315" 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="39315" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39315"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39314" class="if-quote-wrapper" unselectable="on" data-guid="1745445510353" contenteditable="false" id="if_insertedNode_1745445085766"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39314" 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="39314" 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="39314" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39314"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39313" class="if-quote-wrapper" unselectable="on" data-guid="1745445510353" contenteditable="false" id="if_insertedNode_1745444439955"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39313" 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="39313" 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="39313" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39313"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39311" class="if-quote-wrapper" unselectable="on" data-guid="1745445510353" contenteditable="false" id="if_insertedNode_1745443775560"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39311" 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="39311" 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="39311" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39311"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745445510353" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.&lt;a class="if-quote-goto quote-link" href="#" data-id="39311"&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;As seen in the screenshot, there are 16 possible profiles (1 per row). The profiles are from 1 of 4 &lt;strong&gt;Location&lt;/strong&gt;, high or low in &lt;strong&gt;Economic&lt;/strong&gt;, high or low in &lt;strong&gt;Social&lt;/strong&gt;. I have created all 16 of these profiles in Inquisit as &amp;lt;surveypages&amp;gt; titled "high_econ_low_social_AR," etc.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Of these 16 profiles, I would like to present 8 profiles to each subject/participant.&lt;br/&gt; &lt;br/&gt;I would like the 8 profiles to be randomly selected, however, they must align with these conditions: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic,&lt;br/&gt;- 4 should be high in Social, 4 should be low in Social&lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles&lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles&lt;br/&gt;&lt;br/&gt;Or in other words, the 8 profiles shown to participants should comprise of:&amp;nbsp;&lt;br/&gt;- 4 high in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 of the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- 4 low in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- The 4 high in &lt;strong&gt;Social&lt;/strong&gt; profiles should also each be from 1 of the 4 &lt;strong&gt;Locations&lt;/strong&gt; (no repeat). Same for the 4 low in &lt;strong&gt;Social&lt;/strong&gt; profiles.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope I explained it more clearly here. &lt;a class="if-quote-goto quote-link" href="#" data-id="39313"&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;Post at least one full example of a profie, i.e. the surveypage and anything it displays.&lt;a class="if-quote-goto quote-link" href="#" data-id="39314"&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;&lt;br/&gt;&lt;br/&gt;&lt;img src="https://forums.millisecond.com/Uploads/Images/09d09e85-a5f2-42be-ac0d-f235.png" data-download-url="../Uploads/Images/3cd1aa6f-e9c9-4750-a277-d95c.png" id="if_insertedNode_1745445126847"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/989eb7bb-9f13-48cf-b63e-ab4b.png" data-download-url="../Uploads/Images/ccee5a45-c09c-4af5-937a-8eee.png" id="if_insertedNode_1745445257035"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39315"&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;I asked for everything. That means the surveypage and any and all elements it dispalys. The question elements, the &amp;lt;image&amp;gt; elements, any &amp;lt;text&amp;gt; elements, &amp;lt;picture&amp;gt; etc.&lt;br/&gt;&lt;br/&gt;That includes any files as well.&lt;br/&gt;&lt;br/&gt;Point being, it does not make any sense whatsoever to define a separate surveypage etc. for each and every econ status / social status / location combination.&lt;br/&gt;&lt;br/&gt;You need at most 8 surveypages: high_econ_high_social_A, high_econ_high_social_B, high_econ_low_social_C, high_econ_low_social_D, low_econ_low_social_A, low_econ_low_social_B, low_econ_high_social_C, low_econ_high_social_C.&lt;br/&gt;&lt;br/&gt;A, B, C, and D are the location, for which you just use variables. The logic of this whole thing dictates that a location randomly selected for a high/high trial MUST then also be used in a low/low trial.</description><pubDate>Wed, 23 Apr 2025 22:08:15 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39315.aspx</link><description>&lt;blockquote data-id="39314" class="if-quote-wrapper" unselectable="on" data-guid="1745445086790" contenteditable="false" id="if_insertedNode_1745445085766"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39314" 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="39314" 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="39314" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39314"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39313" class="if-quote-wrapper" unselectable="on" data-guid="1745445086790" contenteditable="false" id="if_insertedNode_1745444439955"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39313" 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="39313" 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="39313" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39313"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39311" class="if-quote-wrapper" unselectable="on" data-guid="1745445086790" contenteditable="false" id="if_insertedNode_1745443775560"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39311" 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="39311" 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="39311" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39311"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745445086790" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.&lt;a class="if-quote-goto quote-link" href="#" data-id="39311"&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;As seen in the screenshot, there are 16 possible profiles (1 per row). The profiles are from 1 of 4 &lt;strong&gt;Location&lt;/strong&gt;, high or low in &lt;strong&gt;Economic&lt;/strong&gt;, high or low in &lt;strong&gt;Social&lt;/strong&gt;. I have created all 16 of these profiles in Inquisit as &amp;lt;surveypages&amp;gt; titled "high_econ_low_social_AR," etc.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Of these 16 profiles, I would like to present 8 profiles to each subject/participant.&lt;br/&gt; &lt;br/&gt;I would like the 8 profiles to be randomly selected, however, they must align with these conditions: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic,&lt;br/&gt;- 4 should be high in Social, 4 should be low in Social&lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles&lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles&lt;br/&gt;&lt;br/&gt;Or in other words, the 8 profiles shown to participants should comprise of:&amp;nbsp;&lt;br/&gt;- 4 high in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 of the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- 4 low in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- The 4 high in &lt;strong&gt;Social&lt;/strong&gt; profiles should also each be from 1 of the 4 &lt;strong&gt;Locations&lt;/strong&gt; (no repeat). Same for the 4 low in &lt;strong&gt;Social&lt;/strong&gt; profiles.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope I explained it more clearly here. &lt;a class="if-quote-goto quote-link" href="#" data-id="39313"&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;Post at least one full example of a profie, i.e. the surveypage and anything it displays.&lt;a class="if-quote-goto quote-link" href="#" data-id="39314"&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;&lt;br/&gt;&lt;br/&gt;&lt;img src="https://forums.millisecond.com/Uploads/Images/09d09e85-a5f2-42be-ac0d-f235.png" data-download-url="../Uploads/Images/3cd1aa6f-e9c9-4750-a277-d95c.png" id="if_insertedNode_1745445126847"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_high_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=followersText; &lt;br/&gt;7=connectionsText_high; &lt;br/&gt;8=locationText_ID; &lt;br/&gt;9=occupationText_high_JD;&lt;br/&gt;10=dot_high]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/989eb7bb-9f13-48cf-b63e-ab4b.png" data-download-url="../Uploads/Images/ccee5a45-c09c-4af5-937a-8eee.png" id="if_insertedNode_1745445257035"&gt;&lt;br/&gt;&amp;lt;surveypage high_econ_low_social_ID&amp;gt;&lt;br/&gt;/ questions = [1=backgroundImage_ID_1; 2=profileImage; 3=companyImage_perkins; 4=schoolImage_columbia; 5=slider_bar]&lt;br/&gt;/ stimulusframes = [&lt;br/&gt;1=background_outer; &lt;br/&gt;2=background; &lt;br/&gt;3=nameImage; &lt;br/&gt;4=schoolText_high_columbia; &lt;br/&gt;5=companyText_high_perkins; &lt;br/&gt;6=connectionsText_low; &lt;br/&gt;7=locationText_ID; &lt;br/&gt;8=occupationText_high_JD]&lt;br/&gt;/ nextlabel = "Next"&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ navigationbuttonfontstyle = ("Arial", 12pt, false)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;</description><pubDate>Wed, 23 Apr 2025 21:54:28 GMT</pubDate><dc:creator>wmfang</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39314.aspx</link><description>&lt;blockquote data-id="39313" class="if-quote-wrapper" unselectable="on" data-guid="1745444441046" contenteditable="false" id="if_insertedNode_1745444439955"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39313" 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="39313" 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="39313" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39313"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39311" class="if-quote-wrapper" unselectable="on" data-guid="1745444441046" contenteditable="false" id="if_insertedNode_1745443775560"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39311" 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="39311" 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="39311" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39311"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745444441046" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.&lt;a class="if-quote-goto quote-link" href="#" data-id="39311"&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;As seen in the screenshot, there are 16 possible profiles (1 per row). The profiles are from 1 of 4 &lt;strong&gt;Location&lt;/strong&gt;, high or low in &lt;strong&gt;Economic&lt;/strong&gt;, high or low in &lt;strong&gt;Social&lt;/strong&gt;. I have created all 16 of these profiles in Inquisit as &amp;lt;surveypages&amp;gt; titled "high_econ_low_social_AR," etc.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Of these 16 profiles, I would like to present 8 profiles to each subject/participant.&lt;br/&gt; &lt;br/&gt;I would like the 8 profiles to be randomly selected, however, they must align with these conditions: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic,&lt;br/&gt;- 4 should be high in Social, 4 should be low in Social&lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles&lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles&lt;br/&gt;&lt;br/&gt;Or in other words, the 8 profiles shown to participants should comprise of:&amp;nbsp;&lt;br/&gt;- 4 high in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 of the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- 4 low in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- The 4 high in &lt;strong&gt;Social&lt;/strong&gt; profiles should also each be from 1 of the 4 &lt;strong&gt;Locations&lt;/strong&gt; (no repeat). Same for the 4 low in &lt;strong&gt;Social&lt;/strong&gt; profiles.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope I explained it more clearly here. &lt;a class="if-quote-goto quote-link" href="#" data-id="39313"&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;Post at least one full example of a profie, i.e. the surveypage and anything it displays.</description><pubDate>Wed, 23 Apr 2025 21:42:16 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39313.aspx</link><description>&lt;blockquote data-id="39311" class="if-quote-wrapper" unselectable="on" data-guid="1745443776377" contenteditable="false" id="if_insertedNode_1745443775560"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39311" 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="39311" 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="39311" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39311"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745443776377" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.&lt;a class="if-quote-goto quote-link" href="#" data-id="39311"&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;As seen in the screenshot, there are 16 possible profiles (1 per row). The profiles are from 1 of 4 &lt;strong&gt;Location&lt;/strong&gt;, high or low in &lt;strong&gt;Economic&lt;/strong&gt;, high or low in &lt;strong&gt;Social&lt;/strong&gt;. I have created all 16 of these profiles in Inquisit as &amp;lt;surveypages&amp;gt; titled "high_econ_low_social_AR," etc.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Of these 16 profiles, I would like to present 8 profiles to each subject/participant.&lt;br/&gt; &lt;br/&gt;I would like the 8 profiles to be randomly selected, however, they must align with these conditions: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic,&lt;br/&gt;- 4 should be high in Social, 4 should be low in Social&lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles&lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles&lt;br/&gt;&lt;br/&gt;Or in other words, the 8 profiles shown to participants should comprise of:&amp;nbsp;&lt;br/&gt;- 4 high in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 of the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- 4 low in &lt;strong&gt;Economic&lt;/strong&gt; (2 high in &lt;strong&gt;Social&lt;/strong&gt;, 2 low in &lt;strong&gt;Social&lt;/strong&gt;, each from 1 the 4 &lt;strong&gt;Locations &lt;/strong&gt;(no repeat))&lt;br/&gt;- The 4 high in &lt;strong&gt;Social&lt;/strong&gt; profiles should also each be from 1 of the 4 &lt;strong&gt;Locations&lt;/strong&gt; (no repeat). Same for the 4 low in &lt;strong&gt;Social&lt;/strong&gt; profiles.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I hope I explained it more clearly here. </description><pubDate>Wed, 23 Apr 2025 21:38:45 GMT</pubDate><dc:creator>wmfang</dc:creator></item><item><title>RE: Randomization with conditions?</title><link>https://forums.millisecond.com/Topic39311.aspx</link><description>&lt;blockquote data-id="39309" class="if-quote-wrapper" unselectable="on" data-guid="1745434395374" contenteditable="false" id="if_insertedNode_1745434394312"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="39309" 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="39309" 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="39309" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;wmfang - 4/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-39309"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I am designing a study where participants are providing their evaluation 8 different social media profiles.&amp;nbsp;&lt;br/&gt;These 8 profiles should be randomly selected from 16 profiles that I created in Inquisit (see screenshot below).&lt;br/&gt; &lt;br/&gt;The four conditions to the 8 chosen profiles are: &lt;br/&gt;- 4 should be high in Economic, 4 should be low in Economic, &lt;br/&gt;- 4 should be high in Social, 4 should be low in Social &lt;br/&gt;- All 4 locations should be represented in the high Economic profiles&lt;br/&gt;- All 4 locations should be represented in the low Economic profiles &lt;br/&gt;- All 4 locations should be represented in high Social profiles&lt;br/&gt;- All 4 locations should be represented in low Social profiles &lt;br/&gt;&lt;br/&gt;I currently have it such that there are 16 possible combinations of the 8 profiles, and participants see 1 combination that is randomly chosen.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thus, I would like to code this in Inquisit with conditional statements choosing from lists of profiles. How would I do this? &lt;br/&gt;&lt;br/&gt;Thanks in advance! &lt;br/&gt;&lt;br/&gt;Here are 2 examples of possible combinations:&lt;br/&gt;&amp;lt;block combination1&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_SC;&lt;br/&gt;3=high_econ_low_social_ID;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_ID;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_AR;&lt;br/&gt;8=low_econ_low_social_SC;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block combination2&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;1=high_econ_high_social_AR; &lt;br/&gt;2=high_econ_high_social_ID;&lt;br/&gt;3=high_econ_low_social_SC;&lt;br/&gt;4=high_econ_low_social_TN;&lt;br/&gt;5=low_econ_high_social_SC;&lt;br/&gt;6=low_econ_high_social_TN;&lt;br/&gt;7=low_econ_low_social_ID;&lt;br/&gt;8=low_econ_low_social_AR;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="../Uploads/Images/2a698dcb-ca53-411a-8647-0ac0.png" data-download-url="../Uploads/Images/00097352-38b6-4686-b885-3393.png" id="if_insertedNode_1745424415648"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="39309"&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;Based on your description and the two &amp;lt;block&amp;gt; snippets, I have no idea what you actually set up or want to do. Please be more specific.</description><pubDate>Wed, 23 Apr 2025 18:54:13 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>