﻿<?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 5  » How to Present Stimuli Provided by Subjects (Inquisit 5)</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 20 Sep 2026 03:55:10 GMT</lastBuildDate><ttl>20</ttl><item><title>How to Present Stimuli Provided by Subjects (Inquisit 5)</title><link>https://forums.millisecond.com/Topic25442.aspx</link><description>Hi all, I'd appreciate your help with the following question:&lt;br/&gt;&lt;br/&gt;based on the tutorial here: &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/howtosubjectprovideditems.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/howtosubjectprovideditems.htm&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;I adapted the code (see below) for my experiment yet always get the following error message: Expression 'item.responseitems.insertitem(textbox.name.response,1)' is invalid. Expression contains an unknown function.&lt;br/&gt;&lt;br/&gt;Does anyone know what this error refers to?&lt;br/&gt;&lt;br/&gt;Here is my code:&lt;br/&gt;&lt;br/&gt;&amp;lt;item probe&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox name&amp;gt;&lt;br/&gt;/ caption = "Bitte geben Sie Ihren Vornamen ein:"&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox nameM&amp;gt;&lt;br/&gt;/ caption = "Bitte geben Sie den Vornamen Ihrer Mutter ein:"&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox nameV&amp;gt;&lt;br/&gt;/ caption = "Bitte geben Sie den Vornamen Ihres Vaters ein:"&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox date&amp;gt;&lt;br/&gt;/ caption = "Bitte geben Sie ihren Geburtstag ein (z.B. '9. April'):"&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox place&amp;gt;&lt;br/&gt;/ caption = "Bitte geben Sie ihre Geburtsstadt ein:"&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage page1&amp;gt;&lt;br/&gt;/ questions = [1=name; 2=nameM; 3=nameV; 4=date; 5=place]&lt;br/&gt;/ ontrialend = [item.responseitems.insertitem(textbox.name.response, 1)]&lt;br/&gt;/ ontrialend = [item.responseitems.insertitem(textbox.nameM.response, 2)]&lt;br/&gt;/ ontrialend = [item.responseitems.insertitem(textbox.nameV.response, 3)]&lt;br/&gt;/ ontrialend = [item.responseitems.insertitem(textbox.date.response, 4)]&lt;br/&gt;/ ontrialend = [item.responseitems.insertitem(textbox.place.response, 5)]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;</description><pubDate>Mon, 20 Aug 2018 11:42:48 GMT</pubDate><dc:creator>AnjaK</dc:creator></item><item><title>RE: How to Present Stimuli Provided by Subjects (Inquisit 5)</title><link>https://forums.millisecond.com/Topic25444.aspx</link><description>&lt;div data-id="25443" class="if-quote-wrapper" unselectable="on" data-guid="1534790547441"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25443" 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="25443" 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="25443" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, August 20, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-25443"&gt;&lt;div class="if-quote-message-margin"&gt;There is no &amp;lt;item&amp;gt; element called "responseitems" in the code you posted. The only &amp;lt;item&amp;gt; element you have defined is called "probe".&lt;br/&gt;&lt;br/&gt;If you want to store the responses in &lt;br/&gt;&lt;br/&gt;&amp;lt;item probe&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;then your /ontrialend logic ought to read:&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage page1&amp;gt;&lt;br/&gt;/ questions = [1=name; 2=nameM; 3=nameV; 4=date; 5=place]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.name.response, 1)]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.nameM.response, 2)]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.nameV.response, 3)]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.date.response, 4)]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.place.response, 5)]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25443"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;of course, great, thank you, it works now!&lt;br/&gt;</description><pubDate>Mon, 20 Aug 2018 11:42:48 GMT</pubDate><dc:creator>AnjaK</dc:creator></item><item><title>RE: How to Present Stimuli Provided by Subjects (Inquisit 5)</title><link>https://forums.millisecond.com/Topic25443.aspx</link><description>There is no &amp;lt;item&amp;gt; element called "responseitems" in the code you posted. The only &amp;lt;item&amp;gt; element you have defined is called "probe".&lt;br/&gt;&lt;br/&gt;If you want to store the responses in &lt;br/&gt;&lt;br/&gt;&amp;lt;item probe&amp;gt;&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;then your /ontrialend logic ought to read:&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage page1&amp;gt;&lt;br/&gt;/ questions = [1=name; 2=nameM; 3=nameV; 4=date; 5=place]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.name.response, 1)]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.nameM.response, 2)]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.nameV.response, 3)]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.date.response, 4)]&lt;br/&gt;/ ontrialend = [item.&lt;strong&gt;probe&lt;/strong&gt;.insertitem(textbox.place.response, 5)]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;</description><pubDate>Mon, 20 Aug 2018 10:48:42 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>