﻿<?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  » How to set "correctresponse" to an item in the code?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 19 Sep 2026 16:25:44 GMT</lastBuildDate><ttl>20</ttl><item><title>How to set "correctresponse" to an item in the code?</title><link>https://forums.millisecond.com/Topic29522.aspx</link><description>Hello everyone!&lt;br/&gt;&lt;br/&gt;I am currently programming a script where each of the 50 cue items has 1 corresponding response item. Throughout the paradigm, participants must learn their association, so when presented with the cue item, they should write down the response item in a textbox. Irrespective of whether they gave the correct answer, they will be presented with the correct answer after every trial. I would like to know 2 things:&lt;br/&gt;&lt;br/&gt;1. How to set the corresponding response item as the correct response of the respective cue item? (So that I can let inquisit count the number of correctly recalled items)&lt;br/&gt;&lt;br/&gt;2. How to deal with spelling mistakes? (Can I program for example that the responses should have 80% the correct letters?)&lt;br/&gt;&lt;br/&gt;Below you find a shortened version of the elements (with just 5 items) that are relevant to this question.&lt;br/&gt;&lt;br/&gt;Thank you all very much for your answers. ;) I am really stuck on these questions :/&lt;br/&gt;&lt;br/&gt;Kind regards,&lt;br/&gt;&lt;br/&gt;Clusi&lt;br/&gt;---------------------------------&lt;br/&gt;&amp;lt;item real_response_word&amp;gt;&lt;br/&gt;/1 = "HOUR"&lt;br/&gt;/2 = "NECKLACE"&lt;br/&gt;/3 = "COTTON"&lt;br/&gt;/4 = "BOURBON"&lt;br/&gt;/5 = "CIGAR"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item real_cue_word&amp;gt;&lt;br/&gt;/1 = "ERRAND"&lt;br/&gt;/2 = "CLUSTER"&lt;br/&gt;/3 = "SNAG"&lt;br/&gt;/4 = "RELIEF"&lt;br/&gt;/5 = "VICE"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text type_response_word&amp;gt;&lt;br/&gt;/items = ("Type in the RESPONSE word")&lt;br/&gt;/position = (50%, 70%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text focuspoint&amp;gt;&lt;br/&gt;/items = ("+")&lt;br/&gt;/position = (50%, 50%)&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text cue_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_cue_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ select = noreplacenorepeat&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text response_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_response_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = blue&lt;br/&gt;/ select = text.cue_word_testfeedback.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended testfeedback_phase&amp;gt;&lt;br/&gt;/ stimulustimes = [0= text.focuspoint; 200=cue_word_testfeedback; 200=text.type_response_word]&lt;br/&gt;/ response = correct&lt;br/&gt;/ correctresponse = (text.response_word_testfeedback)&lt;br/&gt;/ position = (50,90)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ timeout = 5400&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;feedback&lt;br/&gt;&amp;lt;trial testfeedback_phase_feedback_cycle1&amp;gt;&lt;br/&gt;/stimulustimes = [200=response_word_testfeedback]&lt;br/&gt;/timeout = 2200&lt;br/&gt;/ posttrialpause = 300&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block testfeedback_phase&amp;gt;&lt;br/&gt;/ trials = [1-5= sequence(openended.testfeedback_phase, trial.testfeedback_phase_feedback_cycle1)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt testfeedback&amp;gt;&lt;br/&gt;/ blocks = [1=block.testfeedback_phase]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 05 Aug 2020 13:33:48 GMT</pubDate><dc:creator>Clusi</dc:creator></item><item><title>RE: How to set "correctresponse" to an item in the code?</title><link>https://forums.millisecond.com/Topic29534.aspx</link><description>&lt;blockquote data-id="29523" class="if-quote-wrapper" unselectable="on" data-guid="1596634298906" id="if_insertedNode_1596634297693" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29523" 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="29523" 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="29523" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 8/3/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29523"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29522" class="if-quote-wrapper" unselectable="on" data-guid="1596634298906" id="if_insertedNode_1596479073733" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29522" 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="29522" 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="29522" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Clusi - 8/3/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29522"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello everyone!&lt;br/&gt;&lt;br/&gt;I am currently programming a script where each of the 50 cue items has 1 corresponding response item. Throughout the paradigm, participants must learn their association, so when presented with the cue item, they should write down the response item in a textbox. Irrespective of whether they gave the correct answer, they will be presented with the correct answer after every trial. I would like to know 2 things:&lt;br/&gt;&lt;br/&gt;1. How to set the corresponding response item as the correct response of the respective cue item? (So that I can let inquisit count the number of correctly recalled items)&lt;br/&gt;&lt;br/&gt;2. How to deal with spelling mistakes? (Can I program for example that the responses should have 80% the correct letters?)&lt;br/&gt;&lt;br/&gt;Below you find a shortened version of the elements (with just 5 items) that are relevant to this question.&lt;br/&gt;&lt;br/&gt;Thank you all very much for your answers. ;) I am really stuck on these questions :/&lt;br/&gt;&lt;br/&gt;Kind regards,&lt;br/&gt;&lt;br/&gt;Clusi&lt;br/&gt;---------------------------------&lt;br/&gt;&amp;lt;item real_response_word&amp;gt;&lt;br/&gt;/1 = "HOUR"&lt;br/&gt;/2 = "NECKLACE"&lt;br/&gt;/3 = "COTTON"&lt;br/&gt;/4 = "BOURBON"&lt;br/&gt;/5 = "CIGAR"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item real_cue_word&amp;gt;&lt;br/&gt;/1 = "ERRAND"&lt;br/&gt;/2 = "CLUSTER"&lt;br/&gt;/3 = "SNAG"&lt;br/&gt;/4 = "RELIEF"&lt;br/&gt;/5 = "VICE"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text type_response_word&amp;gt;&lt;br/&gt;/items = ("Type in the RESPONSE word")&lt;br/&gt;/position = (50%, 70%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text focuspoint&amp;gt;&lt;br/&gt;/items = ("+")&lt;br/&gt;/position = (50%, 50%)&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text cue_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_cue_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ select = noreplacenorepeat&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text response_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_response_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = blue&lt;br/&gt;/ select = text.cue_word_testfeedback.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended testfeedback_phase&amp;gt;&lt;br/&gt;/ stimulustimes = [0= text.focuspoint; 200=cue_word_testfeedback; 200=text.type_response_word]&lt;br/&gt;/ response = correct&lt;br/&gt;/ correctresponse = (text.response_word_testfeedback)&lt;br/&gt;/ position = (50,90)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ timeout = 5400&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;feedback&lt;br/&gt;&amp;lt;trial testfeedback_phase_feedback_cycle1&amp;gt;&lt;br/&gt;/stimulustimes = [200=response_word_testfeedback]&lt;br/&gt;/timeout = 2200&lt;br/&gt;/ posttrialpause = 300&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block testfeedback_phase&amp;gt;&lt;br/&gt;/ trials = [1-5= sequence(openended.testfeedback_phase, trial.testfeedback_phase_feedback_cycle1)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt testfeedback&amp;gt;&lt;br/&gt;/ blocks = [1=block.testfeedback_phase]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29522"&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;gt; 1. How to set the corresponding response item as the correct response of the respective cue item? (So that I can let inquisit count the number of correctly recalled items)&lt;br/&gt;&lt;br/&gt;Per /iscorrectresponse:&lt;br/&gt;&lt;br/&gt;&lt;blockquote&gt;&amp;lt;item real_response_word&amp;gt;&lt;br/&gt;/1 = "HOUR"&lt;br/&gt;/2 = "NECKLACE"&lt;br/&gt;/3 = "COTTON"&lt;br/&gt;/4 = "BOURBON"&lt;br/&gt;/5 = "CIGAR"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item real_cue_word&amp;gt;&lt;br/&gt;/1 = "ERRAND"&lt;br/&gt;/2 = "CLUSTER"&lt;br/&gt;/3 = "SNAG"&lt;br/&gt;/4 = "RELIEF"&lt;br/&gt;/5 = "VICE"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text type_response_word&amp;gt;&lt;br/&gt;/items = ("Type in the RESPONSE word")&lt;br/&gt;/position = (50%, 70%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text focuspoint&amp;gt;&lt;br/&gt;/items = ("+")&lt;br/&gt;/position = (50%, 50%)&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text cue_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_cue_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ select = noreplacenorepeat&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text response_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_response_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = blue&lt;br/&gt;/ select = text.cue_word_testfeedback.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended testfeedback_phase&amp;gt;&lt;br/&gt;/ stimulustimes = [0= text.focuspoint; 200=cue_word_testfeedback; 200=text.type_response_word]&lt;br/&gt;/ response = correct&lt;br/&gt;&lt;strong&gt;/ iscorrectresponse = [&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;toupper(openended.testfeedback_phase.response) == item.real_response_word.item(text.cue_word_testfeedback.currentindex);&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;]&lt;/strong&gt;&lt;br/&gt;/ position = (50,90)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ timeout = 5400&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;feedback&lt;br/&gt;&amp;lt;trial testfeedback_phase_feedback_cycle1&amp;gt;&lt;br/&gt;/stimulustimes = [200=response_word_testfeedback]&lt;br/&gt;/timeout = 2200&lt;br/&gt;/ posttrialpause = 300&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block testfeedback_phase&amp;gt;&lt;br/&gt;/ trials = [1-5= sequence(openended.testfeedback_phase, trial.testfeedback_phase_feedback_cycle1)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt testfeedback&amp;gt;&lt;br/&gt;/ blocks = [1=block.testfeedback_phase]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/blockquote&gt;&amp;gt; 2. How to deal with spelling mistakes? (Can I program for example that the responses should have 80% the correct letters?)&lt;br/&gt;&lt;br/&gt;In short: You don't. Longer answer: If you're feeling creative, you can see whatever you can come up with by elaborate use of the available string functions.&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/language/expressions/functions.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/language/expressions/functions.htm"&gt;https://www.millisecond.com/support/docs/v6/html/language/expressions/functions.htm&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Percentage of letters would be a bad metric. What you'd really want is a proper edit distance metric ( &lt;a href="https://en.wikipedia.org/wiki/Edit_distance"&gt;&lt;a href="https://en.wikipedia.org/wiki/Edit_distance"&gt;https://en.wikipedia.org/wiki/Edit_distance&lt;/a&gt;&lt;/a&gt; ) such as Levenshtein distance ( &lt;a href="https://en.wikipedia.org/wiki/Levenshtein_distance"&gt;&lt;a href="https://en.wikipedia.org/wiki/Levenshtein_distance"&gt;https://en.wikipedia.org/wiki/Levenshtein_distance&lt;/a&gt;&lt;/a&gt; ) or the more complex Damerau-Levenshtein distance metric ( &lt;a href="https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance"&gt;&lt;a href="https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance"&gt;https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance&lt;/a&gt;&lt;/a&gt; ). However, these algorithms aren't the easiest to implement and they can be quite costly computationally, so I'd probably opt for calculating these later during data analysis instead of on-the-fly if I were you.&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/language/expressions/functions.htm"&gt;&lt;br/&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29523"&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;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thank you very much for your feedback on both of my questions, and also for all the other answers you have provided in this forum. You have solved many of my questions as a first-time inquisit user in previous posts. I am going to look nto the second question in more detail :)&lt;br/&gt;&lt;br/&gt;Kind regards,&lt;br/&gt;&lt;br/&gt;Clusi</description><pubDate>Wed, 05 Aug 2020 13:33:48 GMT</pubDate><dc:creator>Clusi</dc:creator></item><item><title>RE: How to set "correctresponse" to an item in the code?</title><link>https://forums.millisecond.com/Topic29523.aspx</link><description>&lt;blockquote data-id="29522" class="if-quote-wrapper" unselectable="on" data-guid="1596479074384" id="if_insertedNode_1596479073733" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29522" 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="29522" 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="29522" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Clusi - 8/3/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29522"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello everyone!&lt;br/&gt;&lt;br/&gt;I am currently programming a script where each of the 50 cue items has 1 corresponding response item. Throughout the paradigm, participants must learn their association, so when presented with the cue item, they should write down the response item in a textbox. Irrespective of whether they gave the correct answer, they will be presented with the correct answer after every trial. I would like to know 2 things:&lt;br/&gt;&lt;br/&gt;1. How to set the corresponding response item as the correct response of the respective cue item? (So that I can let inquisit count the number of correctly recalled items)&lt;br/&gt;&lt;br/&gt;2. How to deal with spelling mistakes? (Can I program for example that the responses should have 80% the correct letters?)&lt;br/&gt;&lt;br/&gt;Below you find a shortened version of the elements (with just 5 items) that are relevant to this question.&lt;br/&gt;&lt;br/&gt;Thank you all very much for your answers. ;) I am really stuck on these questions :/&lt;br/&gt;&lt;br/&gt;Kind regards,&lt;br/&gt;&lt;br/&gt;Clusi&lt;br/&gt;---------------------------------&lt;br/&gt;&amp;lt;item real_response_word&amp;gt;&lt;br/&gt;/1 = "HOUR"&lt;br/&gt;/2 = "NECKLACE"&lt;br/&gt;/3 = "COTTON"&lt;br/&gt;/4 = "BOURBON"&lt;br/&gt;/5 = "CIGAR"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item real_cue_word&amp;gt;&lt;br/&gt;/1 = "ERRAND"&lt;br/&gt;/2 = "CLUSTER"&lt;br/&gt;/3 = "SNAG"&lt;br/&gt;/4 = "RELIEF"&lt;br/&gt;/5 = "VICE"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text type_response_word&amp;gt;&lt;br/&gt;/items = ("Type in the RESPONSE word")&lt;br/&gt;/position = (50%, 70%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text focuspoint&amp;gt;&lt;br/&gt;/items = ("+")&lt;br/&gt;/position = (50%, 50%)&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text cue_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_cue_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ select = noreplacenorepeat&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text response_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_response_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = blue&lt;br/&gt;/ select = text.cue_word_testfeedback.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended testfeedback_phase&amp;gt;&lt;br/&gt;/ stimulustimes = [0= text.focuspoint; 200=cue_word_testfeedback; 200=text.type_response_word]&lt;br/&gt;/ response = correct&lt;br/&gt;/ correctresponse = (text.response_word_testfeedback)&lt;br/&gt;/ position = (50,90)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ timeout = 5400&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;feedback&lt;br/&gt;&amp;lt;trial testfeedback_phase_feedback_cycle1&amp;gt;&lt;br/&gt;/stimulustimes = [200=response_word_testfeedback]&lt;br/&gt;/timeout = 2200&lt;br/&gt;/ posttrialpause = 300&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block testfeedback_phase&amp;gt;&lt;br/&gt;/ trials = [1-5= sequence(openended.testfeedback_phase, trial.testfeedback_phase_feedback_cycle1)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt testfeedback&amp;gt;&lt;br/&gt;/ blocks = [1=block.testfeedback_phase]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29522"&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;gt; 1. How to set the corresponding response item as the correct response of the respective cue item? (So that I can let inquisit count the number of correctly recalled items)&lt;br/&gt;&lt;br/&gt;Per /iscorrectresponse:&lt;br/&gt;&lt;br/&gt;&lt;blockquote&gt;&amp;lt;item real_response_word&amp;gt;&lt;br/&gt;/1 = "HOUR"&lt;br/&gt;/2 = "NECKLACE"&lt;br/&gt;/3 = "COTTON"&lt;br/&gt;/4 = "BOURBON"&lt;br/&gt;/5 = "CIGAR"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item real_cue_word&amp;gt;&lt;br/&gt;/1 = "ERRAND"&lt;br/&gt;/2 = "CLUSTER"&lt;br/&gt;/3 = "SNAG"&lt;br/&gt;/4 = "RELIEF"&lt;br/&gt;/5 = "VICE"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text type_response_word&amp;gt;&lt;br/&gt;/items = ("Type in the RESPONSE word")&lt;br/&gt;/position = (50%, 70%)&lt;br/&gt;/ fontstyle = ("Arial", 5%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text focuspoint&amp;gt;&lt;br/&gt;/items = ("+")&lt;br/&gt;/position = (50%, 50%)&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text cue_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_cue_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ select = noreplacenorepeat&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text response_word_testfeedback&amp;gt;&lt;br/&gt;/ items = real_response_word&lt;br/&gt;/ fontstyle = ("Arial", 8%)&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ color = blue&lt;br/&gt;/ select = text.cue_word_testfeedback.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;openended testfeedback_phase&amp;gt;&lt;br/&gt;/ stimulustimes = [0= text.focuspoint; 200=cue_word_testfeedback; 200=text.type_response_word]&lt;br/&gt;/ response = correct&lt;br/&gt;&lt;strong&gt;/ iscorrectresponse = [&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;toupper(openended.testfeedback_phase.response) == item.real_response_word.item(text.cue_word_testfeedback.currentindex);&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;]&lt;/strong&gt;&lt;br/&gt;/ position = (50,90)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ timeout = 5400&lt;br/&gt;&amp;lt;/openended&amp;gt;&lt;br/&gt;&lt;br/&gt;feedback&lt;br/&gt;&amp;lt;trial testfeedback_phase_feedback_cycle1&amp;gt;&lt;br/&gt;/stimulustimes = [200=response_word_testfeedback]&lt;br/&gt;/timeout = 2200&lt;br/&gt;/ posttrialpause = 300&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block testfeedback_phase&amp;gt;&lt;br/&gt;/ trials = [1-5= sequence(openended.testfeedback_phase, trial.testfeedback_phase_feedback_cycle1)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt testfeedback&amp;gt;&lt;br/&gt;/ blocks = [1=block.testfeedback_phase]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/blockquote&gt;&amp;gt; 2. How to deal with spelling mistakes? (Can I program for example that the responses should have 80% the correct letters?)&lt;br/&gt;&lt;br/&gt;In short: You don't. Longer answer: If you're feeling creative, you can see whatever you can come up with by elaborate use of the available string functions.&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/language/expressions/functions.htm"&gt;https://www.millisecond.com/support/docs/v6/html/language/expressions/functions.htm&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Percentage of letters would be a bad metric. What you'd really want is a proper edit distance metric ( &lt;a href="https://en.wikipedia.org/wiki/Edit_distance"&gt;https://en.wikipedia.org/wiki/Edit_distance&lt;/a&gt; ) such as Levenshtein distance ( &lt;a href="https://en.wikipedia.org/wiki/Levenshtein_distance"&gt;https://en.wikipedia.org/wiki/Levenshtein_distance&lt;/a&gt; ) or the more complex Damerau-Levenshtein distance metric ( &lt;a href="https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance"&gt;https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance&lt;/a&gt; ). However, these algorithms aren't the easiest to implement and they can be quite costly computationally, so I'd probably opt for calculating these later during data analysis instead of on-the-fly if I were you.&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/language/expressions/functions.htm"&gt;&lt;br/&gt;&lt;/a&gt;&lt;br/&gt;</description><pubDate>Mon, 03 Aug 2020 18:58:43 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>