﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » If then response likert scale</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 25 May 2026 23:16:24 GMT</lastBuildDate><ttl>20</ttl><item><title>If then response likert scale</title><link>https://forums.millisecond.com/Topic12904.aspx</link><description>Dear moderator,&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;I'm working on my masterthesis and I have a slight problem. If a participants is a female she needs to hold a yellow stretchband. If the participants is male he needs to hold a red stretchband. So I need to program IF female THEN yellow and IF male THEN red. How do I program this? (I already have the likert question below)&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;likert gender&amp;gt;&lt;/div&gt;&lt;div&gt;/ numpoints = 2&lt;/div&gt;&lt;div&gt;/ anchors = [1="Male"; 2="Female"]&lt;/div&gt;&lt;div&gt;/ stimulustimes = [1=questiongender]&lt;/div&gt;&lt;div&gt;&amp;lt;/likert&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;text questiongender&amp;gt;&lt;/div&gt;&lt;div&gt;/ items = ("What is your gender?")&lt;/div&gt;&lt;div&gt;/ position = (50,30)&lt;/div&gt;&lt;div&gt;&amp;lt;/text&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Sat, 05 Apr 2014 07:25:48 GMT</pubDate><dc:creator>Elmar</dc:creator></item><item><title>RE: If then response likert scale</title><link>https://forums.millisecond.com/Topic12910.aspx</link><description>&amp;lt;values&amp;gt;&lt;br/&gt;/ coloritem = 1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block someblock&amp;gt;&lt;br/&gt;/ trials = [1=sequence(gender,colormessage)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;likert gender&amp;gt;&lt;br/&gt;/ ontrialend = [if (likert.gender.response==1) values.coloritem = replace(1,2)]&lt;br/&gt;/ ontrialend = [if (likert.gender.response==2) values.coloritem = replace(3,4)]&lt;br/&gt;/ numpoints = 2&lt;br/&gt;/ anchors = [1="Male"; 2="Female"]&lt;br/&gt;/ stimulustimes = [1=questiongender]&lt;br/&gt;&amp;lt;/likert&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text questiongender&amp;gt;&lt;br/&gt;/ items = ("What is your gender?")&lt;br/&gt;/ position = (50,30)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial colormessage&amp;gt;&lt;br/&gt;/ stimulusframes = [1=messagetxt]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text messagetxt&amp;gt;&lt;br/&gt;/ items = ("Please hold the RED stretchband.", "Please hold the PURPLE stretchband."&lt;br/&gt;"Please hold the YELLOW stretchband.", "Please hold the GREEN stretchband.")&lt;br/&gt;/ select = values.coloritem&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Sat, 05 Apr 2014 07:25:48 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: If then response likert scale</title><link>https://forums.millisecond.com/Topic12909.aspx</link><description>Ok one more question. I want to make it a little more complicated. If someone is a male participant I want inquisit to randomly show "please hold the red stretchband" or "please hold the purple stretchband". If someone is a female participant I want inquisit to randomly show "please hold the yellow stretchband" or "please hold the green stretchband" How do I do this?</description><pubDate>Sat, 05 Apr 2014 07:14:32 GMT</pubDate><dc:creator>Elmar</dc:creator></item><item><title>RE: If then response likert scale</title><link>https://forums.millisecond.com/Topic12908.aspx</link><description>Thank you! You are a lifesaver : ).</description><pubDate>Sat, 05 Apr 2014 07:09:37 GMT</pubDate><dc:creator>Elmar</dc:creator></item><item><title>RE: If then response likert scale</title><link>https://forums.millisecond.com/Topic12907.aspx</link><description>&amp;lt;block someblock&amp;gt;&lt;br/&gt;/ trials = [1=sequence(gender,colormessage)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;likert gender&amp;gt;&lt;br/&gt;/ numpoints = 2&lt;br/&gt;/ anchors = [1="Male"; 2="Female"]&lt;br/&gt;/ stimulustimes = [1=questiongender]&lt;br/&gt;&amp;lt;/likert&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text questiongender&amp;gt;&lt;br/&gt;/ items = ("What is your gender?")&lt;br/&gt;/ position = (50,30)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial colormessage&amp;gt;&lt;br/&gt;/ stimulusframes = [1=messagetxt]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text messagetxt&amp;gt;&lt;br/&gt;/ items = ("Please hold the RED stretchband.", "please hold the YELLOW stretchband.")&lt;br/&gt;/ select = likert.gender.response&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Sat, 05 Apr 2014 06:59:10 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: If then response likert scale</title><link>https://forums.millisecond.com/Topic12906.aspx</link><description>Ok let me refrase that. If someone responds male I want text to show "please hold the red stretchband" and if someone responds female "please hold the yellow stretchband". How do I do this?</description><pubDate>Sat, 05 Apr 2014 06:48:44 GMT</pubDate><dc:creator>Elmar</dc:creator></item><item><title>RE: If then response likert scale</title><link>https://forums.millisecond.com/Topic12905.aspx</link><description>&amp;gt;  So I need to program IF female THEN yellow and IF male THEN red. How do I program this?&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Please explain what that's supposed to mean exactly. In other words: What exactly do you want the script to *do* if someone responds male vs. if someone responds female? This isn't at all clear from your post.&lt;br/&gt;</description><pubDate>Sat, 05 Apr 2014 06:15:53 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>