﻿<?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  » Adding text to a Likert scale and creating an attention check</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 05 Apr 2026 19:41:05 GMT</lastBuildDate><ttl>20</ttl><item><title>Adding text to a Likert scale and creating an attention check</title><link>https://forums.millisecond.com/Topic36173.aspx</link><description>Hello,&lt;br/&gt;I am running an experiment in which participants will be making ratings on a 7 point Likert type scale after viewing stimuli. I currently have the Likert scale set up with only the buttons and corresponding ratings, but I wanted to also have the rating prompt presented with the scale each time. How do I add just some text above the Likert scale?&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1714503294402"&gt;[code]&amp;lt;likert ratingtrial&amp;gt; &lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(picture.mask, 250 + values.viewtime);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(clearscreen, 250 + values.viewtime + 50);&lt;br/&gt;]&lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ stimulustimes = [0=fix; 200=mask; 250=clearscreen; 250=site]&lt;br/&gt;/ anchors=[1="very unaesthetic"; 2="unaesthetic"; 3="somewhat unaesthetic"; 4="neutral"; 5="somewhat aesthetic"; 6="aesthetic"; 7="very aesthetic"]&lt;br/&gt;/ numpoints = 7&lt;br/&gt;/ position=(50, 50)&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;/ buttonvalues = [1="1",2="2",3="3",4="4",5="5",6="6",7="7"]&lt;br/&gt;/ mouse = true&lt;br/&gt;&amp;lt;/likert&amp;gt;[/code]&lt;/span&gt;&lt;br/&gt;Additionally, I want to include a short attention check towards the end of my experiment. Could I just add another Likert type scale with a question and set one of the answers as the correct one?</description><pubDate>Tue, 07 May 2024 18:51:38 GMT</pubDate><dc:creator>dinghu</dc:creator></item><item><title>RE: Adding text to a Likert scale and creating an attention check</title><link>https://forums.millisecond.com/Topic36202.aspx</link><description>&lt;blockquote data-id="36194" class="if-quote-wrapper" unselectable="on" data-guid="1715105346672" contenteditable="false" id="if_insertedNode_1715105345439"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36194" title=""&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="36194" title=""&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"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="36194" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36194"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;blockquote data-id="36193" class="if-quote-wrapper" unselectable="on" data-guid="1715105346672" contenteditable="false" id="if_insertedNode_1715012308321"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36193" 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="36193" 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="36193" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36193"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36192" class="if-quote-wrapper" unselectable="on" data-guid="1715105346672" contenteditable="false" id="if_insertedNode_1715012001434"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36192" 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="36192" 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="36192" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36192"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36191" class="if-quote-wrapper" unselectable="on" data-guid="1715105346672" contenteditable="false" id="if_insertedNode_1715009450568"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36191" 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="36191" 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="36191" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36191"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36174" class="if-quote-wrapper" unselectable="on" data-guid="1715105346672" contenteditable="false" id="if_insertedNode_1715008785188"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36174" 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="36174" 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="36174" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36174"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36173" class="if-quote-wrapper" unselectable="on" data-guid="1715105346672" contenteditable="false" id="if_insertedNode_1714506172656"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36173" 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="36173" 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="36173" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36173"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;I am running an experiment in which participants will be making ratings on a 7 point Likert type scale after viewing stimuli. I currently have the Likert scale set up with only the buttons and corresponding ratings, but I wanted to also have the rating prompt presented with the scale each time. How do I add just some text above the Likert scale?&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1714503294402"&gt;[code]&amp;lt;likert ratingtrial&amp;gt; &lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(picture.mask, 250 + values.viewtime);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(clearscreen, 250 + values.viewtime + 50);&lt;br/&gt;]&lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ stimulustimes = [0=fix; 200=mask; 250=clearscreen; 250=site]&lt;br/&gt;/ anchors=[1="very unaesthetic"; 2="unaesthetic"; 3="somewhat unaesthetic"; 4="neutral"; 5="somewhat aesthetic"; 6="aesthetic"; 7="very aesthetic"]&lt;br/&gt;/ numpoints = 7&lt;br/&gt;/ position=(50, 50)&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;/ buttonvalues = [1="1",2="2",3="3",4="4",5="5",6="6",7="7"]&lt;br/&gt;/ mouse = true&lt;br/&gt;&amp;lt;/likert&amp;gt;[/code]&lt;/span&gt;&lt;br/&gt;Additionally, I want to include a short attention check towards the end of my experiment. Could I just add another Likert type scale with a question and set one of the answers as the correct one?&lt;a class="if-quote-goto quote-link" href="#" data-id="36173"&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;You need a &amp;lt;text&amp;gt; element for the prompt and display that via /stimulustimes, just like any and all other stimuli.&lt;br/&gt;&lt;br/&gt;And yes, you can do whatever you want or need for an attention check&lt;a class="if-quote-goto quote-link" href="#" data-id="36174"&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! With the attention check, is there a way for me to insert one into part of a block, perhaps about 15 trials into a block? Or will I have to break the block up into two separate blocks, and have an attention check block in between?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36191"&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;You can insert it into a block however you deem fit. How to do that depends on how you've set the block up. That information is not available to me, so I can't give you any specific guidance.&lt;a class="if-quote-goto quote-link" href="#" data-id="36192"&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;I've pasted part of the code below. Each experiment is set up to run a practice block and then 3 blocks with different amounts of viewing time. I want to insert an attention check about 15 trials into the first of the actual experimental blocks without interfering with anything else. How would I be able to do that?&lt;br/&gt;Thank you for your time!&lt;br/&gt;[code]&amp;lt;expt&amp;gt;&lt;br/&gt;/ onexptbegin  = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.filtergroup = 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtimegroup = 1;&lt;br/&gt;]&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1 = practice; 2 - 4 = test]&lt;br/&gt;/ groups = (1 of 18)&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtime = 50; // 50 ms viewtime during practice&lt;br/&gt;]&lt;br/&gt;/ preinstructions = (intro1)&lt;br/&gt;/ trials = [1-3 = ratingtrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtime = list.viewtime.nextvalue;&lt;br/&gt;]&lt;br/&gt;/ trials = [1-50 = ratingtrial]&lt;br/&gt;&amp;lt;/block&amp;gt; &lt;br/&gt;[/code]&lt;a class="if-quote-goto quote-link" href="#" data-id="36193"&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;Create a variable which you increase by one /ontrialbegin in every ratingtrial. Also create a variable indicating after how many test trials the attention check should occur.&lt;br/&gt;[code]&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ ntrials = 0&lt;br/&gt;/ attentioncheck_after = 0&lt;br/&gt;...&lt;br/&gt;&amp;lt;/values&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;At the start of the &amp;lt;expt&amp;gt;, pick a random number between 15 and, let's say 20, test trials after which the attention check should occur.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;expt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.filtergroup = 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtimegroup = 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.attentioncheck_after = round(rand(15, 20));&lt;br/&gt;]&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1 = practice; 2 - 4 = test]&lt;br/&gt;/ groups = (1 of 18)&lt;br/&gt;&amp;lt;/expt&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;At the end of the practice block, set the trial count variable back to 0 (you only care about the number of test trials).&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;block practice&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ onblockend = [values.ntrials = 0]&lt;br/&gt;....&lt;br/&gt;&amp;lt;/block&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;In your ratingtrial likert, increase the trial count variable by one and branch to the attentioncheck after the randomly determiined amount of test trials.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;likert ratingtrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.ntrials += 1]&lt;br/&gt;...&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.ntrials == values.attentioncheck_after) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return likert.attentioncheck;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;]&lt;br/&gt;&amp;lt;/likert&amp;gt;[/code]&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36194"&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;Thank you so much for breaking it down like this. I just wanted to reply and share for posterity that I modified it to run on trial 15 each time, which made it unnecessary to include the attentioncheck_after value. I instead had it check if values.ntrail = 15, and simply branch from there. Thank you so much once again, you are a life saver!&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 07 May 2024 18:51:38 GMT</pubDate><dc:creator>dinghu</dc:creator></item><item><title>RE: Adding text to a Likert scale and creating an attention check</title><link>https://forums.millisecond.com/Topic36194.aspx</link><description>&lt;blockquote data-id="36193" class="if-quote-wrapper" unselectable="on" data-guid="1715012309672" contenteditable="false" id="if_insertedNode_1715012308321"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36193" 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="36193" 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="36193" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36193"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36192" class="if-quote-wrapper" unselectable="on" data-guid="1715012309672" contenteditable="false" id="if_insertedNode_1715012001434"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36192" 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="36192" 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="36192" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36192"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36191" class="if-quote-wrapper" unselectable="on" data-guid="1715012309672" contenteditable="false" id="if_insertedNode_1715009450568"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36191" 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="36191" 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="36191" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36191"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36174" class="if-quote-wrapper" unselectable="on" data-guid="1715012309672" contenteditable="false" id="if_insertedNode_1715008785188"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36174" 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="36174" 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="36174" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36174"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36173" class="if-quote-wrapper" unselectable="on" data-guid="1715012309672" contenteditable="false" id="if_insertedNode_1714506172656"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36173" 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="36173" 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="36173" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36173"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;I am running an experiment in which participants will be making ratings on a 7 point Likert type scale after viewing stimuli. I currently have the Likert scale set up with only the buttons and corresponding ratings, but I wanted to also have the rating prompt presented with the scale each time. How do I add just some text above the Likert scale?&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1714503294402"&gt;[code]&amp;lt;likert ratingtrial&amp;gt; &lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(picture.mask, 250 + values.viewtime);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(clearscreen, 250 + values.viewtime + 50);&lt;br/&gt;]&lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ stimulustimes = [0=fix; 200=mask; 250=clearscreen; 250=site]&lt;br/&gt;/ anchors=[1="very unaesthetic"; 2="unaesthetic"; 3="somewhat unaesthetic"; 4="neutral"; 5="somewhat aesthetic"; 6="aesthetic"; 7="very aesthetic"]&lt;br/&gt;/ numpoints = 7&lt;br/&gt;/ position=(50, 50)&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;/ buttonvalues = [1="1",2="2",3="3",4="4",5="5",6="6",7="7"]&lt;br/&gt;/ mouse = true&lt;br/&gt;&amp;lt;/likert&amp;gt;[/code]&lt;/span&gt;&lt;br/&gt;Additionally, I want to include a short attention check towards the end of my experiment. Could I just add another Likert type scale with a question and set one of the answers as the correct one?&lt;a class="if-quote-goto quote-link" href="#" data-id="36173"&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;You need a &amp;lt;text&amp;gt; element for the prompt and display that via /stimulustimes, just like any and all other stimuli.&lt;br/&gt;&lt;br/&gt;And yes, you can do whatever you want or need for an attention check&lt;a class="if-quote-goto quote-link" href="#" data-id="36174"&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! With the attention check, is there a way for me to insert one into part of a block, perhaps about 15 trials into a block? Or will I have to break the block up into two separate blocks, and have an attention check block in between?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36191"&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;You can insert it into a block however you deem fit. How to do that depends on how you've set the block up. That information is not available to me, so I can't give you any specific guidance.&lt;a class="if-quote-goto quote-link" href="#" data-id="36192"&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;I've pasted part of the code below. Each experiment is set up to run a practice block and then 3 blocks with different amounts of viewing time. I want to insert an attention check about 15 trials into the first of the actual experimental blocks without interfering with anything else. How would I be able to do that?&lt;br/&gt;Thank you for your time!&lt;br/&gt;[code]&amp;lt;expt&amp;gt;&lt;br/&gt;/ onexptbegin  = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.filtergroup = 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtimegroup = 1;&lt;br/&gt;]&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1 = practice; 2 - 4 = test]&lt;br/&gt;/ groups = (1 of 18)&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtime = 50; // 50 ms viewtime during practice&lt;br/&gt;]&lt;br/&gt;/ preinstructions = (intro1)&lt;br/&gt;/ trials = [1-3 = ratingtrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtime = list.viewtime.nextvalue;&lt;br/&gt;]&lt;br/&gt;/ trials = [1-50 = ratingtrial]&lt;br/&gt;&amp;lt;/block&amp;gt; &lt;br/&gt;[/code]&lt;a class="if-quote-goto quote-link" href="#" data-id="36193"&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;Create a variable which you increase by one /ontrialbegin in every ratingtrial. Also create a variable indicating after how many test trials the attention check should occur.&lt;br/&gt;[code]&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ ntrials = 0&lt;br/&gt;/ attentioncheck_after = 0&lt;br/&gt;...&lt;br/&gt;&amp;lt;/values&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;At the start of the &amp;lt;expt&amp;gt;, pick a random number between 15 and, let's say 20, test trials after which the attention check should occur.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;expt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.filtergroup = 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtimegroup = 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.attentioncheck_after = round(rand(15, 20));&lt;br/&gt;]&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1 = practice; 2 - 4 = test]&lt;br/&gt;/ groups = (1 of 18)&lt;br/&gt;&amp;lt;/expt&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;At the end of the practice block, set the trial count variable back to 0 (you only care about the number of test trials).&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;block practice&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ onblockend = [values.ntrials = 0]&lt;br/&gt;....&lt;br/&gt;&amp;lt;/block&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;In your ratingtrial likert, increase the trial count variable by one and branch to the attentioncheck after the randomly determiined amount of test trials.&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;likert ratingtrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.ntrials += 1]&lt;br/&gt;...&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (values.ntrials == values.attentioncheck_after) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return likert.attentioncheck;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;]&lt;br/&gt;&amp;lt;/likert&amp;gt;[/code]&lt;br/&gt;</description><pubDate>Mon, 06 May 2024 16:30:47 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Adding text to a Likert scale and creating an attention check</title><link>https://forums.millisecond.com/Topic36193.aspx</link><description>&lt;blockquote data-id="36192" class="if-quote-wrapper" unselectable="on" data-guid="1715012003052" contenteditable="false" id="if_insertedNode_1715012001434"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36192" title=""&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="36192" title=""&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"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="36192" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36192"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;blockquote data-id="36191" class="if-quote-wrapper" unselectable="on" data-guid="1715012003052" contenteditable="false" id="if_insertedNode_1715009450568"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36191" 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="36191" 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="36191" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36191"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36174" class="if-quote-wrapper" unselectable="on" data-guid="1715012003052" contenteditable="false" id="if_insertedNode_1715008785188"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36174" 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="36174" 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="36174" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36174"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36173" class="if-quote-wrapper" unselectable="on" data-guid="1715012003052" contenteditable="false" id="if_insertedNode_1714506172656"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36173" 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="36173" 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="36173" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36173"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;I am running an experiment in which participants will be making ratings on a 7 point Likert type scale after viewing stimuli. I currently have the Likert scale set up with only the buttons and corresponding ratings, but I wanted to also have the rating prompt presented with the scale each time. How do I add just some text above the Likert scale?&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1714503294402"&gt;[code]&amp;lt;likert ratingtrial&amp;gt; &lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(picture.mask, 250 + values.viewtime);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(clearscreen, 250 + values.viewtime + 50);&lt;br/&gt;]&lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ stimulustimes = [0=fix; 200=mask; 250=clearscreen; 250=site]&lt;br/&gt;/ anchors=[1="very unaesthetic"; 2="unaesthetic"; 3="somewhat unaesthetic"; 4="neutral"; 5="somewhat aesthetic"; 6="aesthetic"; 7="very aesthetic"]&lt;br/&gt;/ numpoints = 7&lt;br/&gt;/ position=(50, 50)&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;/ buttonvalues = [1="1",2="2",3="3",4="4",5="5",6="6",7="7"]&lt;br/&gt;/ mouse = true&lt;br/&gt;&amp;lt;/likert&amp;gt;[/code]&lt;/span&gt;&lt;br/&gt;Additionally, I want to include a short attention check towards the end of my experiment. Could I just add another Likert type scale with a question and set one of the answers as the correct one?&lt;a class="if-quote-goto quote-link" href="#" data-id="36173"&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;You need a &amp;lt;text&amp;gt; element for the prompt and display that via /stimulustimes, just like any and all other stimuli.&lt;br/&gt;&lt;br/&gt;And yes, you can do whatever you want or need for an attention check&lt;a class="if-quote-goto quote-link" href="#" data-id="36174"&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! With the attention check, is there a way for me to insert one into part of a block, perhaps about 15 trials into a block? Or will I have to break the block up into two separate blocks, and have an attention check block in between?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36191"&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;You can insert it into a block however you deem fit. How to do that depends on how you've set the block up. That information is not available to me, so I can't give you any specific guidance.&lt;a class="if-quote-goto quote-link" href="#" data-id="36192"&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;I've pasted part of the code below. Each experiment is set up to run a practice block and then 3 blocks with different amounts of viewing time. I want to insert an attention check about 15 trials into the first of the actual experimental blocks without interfering with anything else. How would I be able to do that?&lt;br/&gt;Thank you for your time!&lt;br/&gt;[code]&amp;lt;expt&amp;gt;&lt;br/&gt;/ onexptbegin  = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.filtergroup = 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtimegroup = 1;&lt;br/&gt;]&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1 = practice; 2 - 4 = test]&lt;br/&gt;/ groups = (1 of 18)&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtime = 50; // 50 ms viewtime during practice&lt;br/&gt;]&lt;br/&gt;/ preinstructions = (intro1)&lt;br/&gt;/ trials = [1-3 = ratingtrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block test&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.viewtime = list.viewtime.nextvalue;&lt;br/&gt;]&lt;br/&gt;/ trials = [1-50 = ratingtrial]&lt;br/&gt;&amp;lt;/block&amp;gt; &lt;br/&gt;[/code]</description><pubDate>Mon, 06 May 2024 16:17:16 GMT</pubDate><dc:creator>dinghu</dc:creator></item><item><title>RE: Adding text to a Likert scale and creating an attention check</title><link>https://forums.millisecond.com/Topic36192.aspx</link><description>&lt;blockquote data-id="36191" class="if-quote-wrapper" unselectable="on" data-guid="1715009450820" contenteditable="false" id="if_insertedNode_1715009450568"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36191" 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="36191" 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="36191" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 5/6/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36191"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36174" class="if-quote-wrapper" unselectable="on" data-guid="1715009450820" contenteditable="false" id="if_insertedNode_1715008785188"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36174" 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="36174" 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="36174" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36174"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="36173" class="if-quote-wrapper" unselectable="on" data-guid="1715009450820" contenteditable="false" id="if_insertedNode_1714506172656"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36173" 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="36173" 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="36173" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36173"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;I am running an experiment in which participants will be making ratings on a 7 point Likert type scale after viewing stimuli. I currently have the Likert scale set up with only the buttons and corresponding ratings, but I wanted to also have the rating prompt presented with the scale each time. How do I add just some text above the Likert scale?&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1714503294402"&gt;[code]&amp;lt;likert ratingtrial&amp;gt; &lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(picture.mask, 250 + values.viewtime);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(clearscreen, 250 + values.viewtime + 50);&lt;br/&gt;]&lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ stimulustimes = [0=fix; 200=mask; 250=clearscreen; 250=site]&lt;br/&gt;/ anchors=[1="very unaesthetic"; 2="unaesthetic"; 3="somewhat unaesthetic"; 4="neutral"; 5="somewhat aesthetic"; 6="aesthetic"; 7="very aesthetic"]&lt;br/&gt;/ numpoints = 7&lt;br/&gt;/ position=(50, 50)&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;/ buttonvalues = [1="1",2="2",3="3",4="4",5="5",6="6",7="7"]&lt;br/&gt;/ mouse = true&lt;br/&gt;&amp;lt;/likert&amp;gt;[/code]&lt;/span&gt;&lt;br/&gt;Additionally, I want to include a short attention check towards the end of my experiment. Could I just add another Likert type scale with a question and set one of the answers as the correct one?&lt;a class="if-quote-goto quote-link" href="#" data-id="36173"&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;You need a &amp;lt;text&amp;gt; element for the prompt and display that via /stimulustimes, just like any and all other stimuli.&lt;br/&gt;&lt;br/&gt;And yes, you can do whatever you want or need for an attention check&lt;a class="if-quote-goto quote-link" href="#" data-id="36174"&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! With the attention check, is there a way for me to insert one into part of a block, perhaps about 15 trials into a block? Or will I have to break the block up into two separate blocks, and have an attention check block in between?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="36191"&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;You can insert it into a block however you deem fit. How to do that depends on how you've set the block up. That information is not available to me, so I can't give you any specific guidance.</description><pubDate>Mon, 06 May 2024 15:32:26 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Adding text to a Likert scale and creating an attention check</title><link>https://forums.millisecond.com/Topic36191.aspx</link><description>&lt;blockquote data-id="36174" class="if-quote-wrapper" unselectable="on" data-guid="1715008786551" contenteditable="false" id="if_insertedNode_1715008785188"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36174" title=""&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="36174" title=""&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"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="36174" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36174"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;blockquote data-id="36173" class="if-quote-wrapper" unselectable="on" data-guid="1715008786551" contenteditable="false" id="if_insertedNode_1714506172656"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36173" 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="36173" 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="36173" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36173"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;I am running an experiment in which participants will be making ratings on a 7 point Likert type scale after viewing stimuli. I currently have the Likert scale set up with only the buttons and corresponding ratings, but I wanted to also have the rating prompt presented with the scale each time. How do I add just some text above the Likert scale?&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1714503294402"&gt;[code]&amp;lt;likert ratingtrial&amp;gt; &lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(picture.mask, 250 + values.viewtime);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(clearscreen, 250 + values.viewtime + 50);&lt;br/&gt;]&lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ stimulustimes = [0=fix; 200=mask; 250=clearscreen; 250=site]&lt;br/&gt;/ anchors=[1="very unaesthetic"; 2="unaesthetic"; 3="somewhat unaesthetic"; 4="neutral"; 5="somewhat aesthetic"; 6="aesthetic"; 7="very aesthetic"]&lt;br/&gt;/ numpoints = 7&lt;br/&gt;/ position=(50, 50)&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;/ buttonvalues = [1="1",2="2",3="3",4="4",5="5",6="6",7="7"]&lt;br/&gt;/ mouse = true&lt;br/&gt;&amp;lt;/likert&amp;gt;[/code]&lt;/span&gt;&lt;br/&gt;Additionally, I want to include a short attention check towards the end of my experiment. Could I just add another Likert type scale with a question and set one of the answers as the correct one?&lt;a class="if-quote-goto quote-link" href="#" data-id="36173"&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;You need a &amp;lt;text&amp;gt; element for the prompt and display that via /stimulustimes, just like any and all other stimuli.&lt;br/&gt;&lt;br/&gt;And yes, you can do whatever you want or need for an attention check&lt;a class="if-quote-goto quote-link" href="#" data-id="36174"&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! With the attention check, is there a way for me to insert one into part of a block, perhaps about 15 trials into a block? Or will I have to break the block up into two separate blocks, and have an attention check block in between?&lt;br/&gt;</description><pubDate>Mon, 06 May 2024 15:21:43 GMT</pubDate><dc:creator>dinghu</dc:creator></item><item><title>RE: Adding text to a Likert scale and creating an attention check</title><link>https://forums.millisecond.com/Topic36174.aspx</link><description>&lt;blockquote data-id="36173" class="if-quote-wrapper" unselectable="on" data-guid="1714506173584" contenteditable="false" id="if_insertedNode_1714506172656"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="36173" 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="36173" 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="36173" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;dinghu - 4/30/2024&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-36173"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;I am running an experiment in which participants will be making ratings on a 7 point Likert type scale after viewing stimuli. I currently have the Likert scale set up with only the buttons and corresponding ratings, but I wanted to also have the rating prompt presented with the scale each time. How do I add just some text above the Likert scale?&lt;br/&gt;&lt;br/&gt;&lt;span id="if_insertedNode_1714503294402"&gt;[code]&amp;lt;likert ratingtrial&amp;gt; &lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(picture.mask, 250 + values.viewtime);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;likert.ratingtrial.insertstimulustime(clearscreen, 250 + values.viewtime + 50);&lt;br/&gt;]&lt;br/&gt;/ pretrialpause = 300&lt;br/&gt;/ stimulustimes = [0=fix; 200=mask; 250=clearscreen; 250=site]&lt;br/&gt;/ anchors=[1="very unaesthetic"; 2="unaesthetic"; 3="somewhat unaesthetic"; 4="neutral"; 5="somewhat aesthetic"; 6="aesthetic"; 7="very aesthetic"]&lt;br/&gt;/ numpoints = 7&lt;br/&gt;/ position=(50, 50)&lt;br/&gt;/ posttrialpause = 100&lt;br/&gt;/ buttonvalues = [1="1",2="2",3="3",4="4",5="5",6="6",7="7"]&lt;br/&gt;/ mouse = true&lt;br/&gt;&amp;lt;/likert&amp;gt;[/code]&lt;/span&gt;&lt;br/&gt;Additionally, I want to include a short attention check towards the end of my experiment. Could I just add another Likert type scale with a question and set one of the answers as the correct one?&lt;a class="if-quote-goto quote-link" href="#" data-id="36173"&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;You need a &amp;lt;text&amp;gt; element for the prompt and display that via /stimulustimes, just like any and all other stimuli.&lt;br/&gt;&lt;br/&gt;And yes, you can do whatever you want or need for an attention check</description><pubDate>Tue, 30 Apr 2024 19:44:26 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>