﻿<?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  » Combining something with an html</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 05:43:24 GMT</lastBuildDate><ttl>20</ttl><item><title>Combining something with an html</title><link>https://forums.millisecond.com/Topic30957.aspx</link><description>Hello!&lt;br/&gt;&lt;br/&gt;I am working on making a consent form and I'm using the HTML function. I want to add to the same page with the HTML an option to accept or deny the consent.&lt;br/&gt;Right now I have the HTML consent form on one page, and another with the option to accept or deny. Is there a way I can have them both on the same page so the accept or deny will just be at the end of the consent HTML file? &lt;br/&gt;I've posted my code below.&lt;br/&gt;&lt;br/&gt;&amp;lt;html consent1&amp;gt;&lt;br/&gt;/ items = ("consent.html")&lt;br/&gt;/ size = (100% ,100%)&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial consent1&amp;gt;&lt;br/&gt;/ stimulusframes = [1=consent1]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text consent2&amp;gt;&lt;br/&gt;/ items = ("By clicking “YES”, you are indicating that you fully understand the previous information and agree to participate in this study.")&lt;br/&gt;/ size = (80%, 10%)&lt;br/&gt;/ vjustify = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text agree&amp;gt;&lt;br/&gt;/items = ("Yes, I agree to particpate.")&lt;br/&gt;/position = (25%, 70%)&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ txcolor = (black)&lt;br/&gt;/txbgcolor = (white)&lt;br/&gt;/size = (30%, 20%)&lt;br/&gt;/ vjustify = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text disagree&amp;gt;&lt;br/&gt;/items = ("No, exit the study.")&lt;br/&gt;/position = (75%, 70%)&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ txcolor = (black)&lt;br/&gt;/txbgcolor = (white)&lt;br/&gt;/size = (30%, 20%)&lt;br/&gt;/vjustify = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial Consent2&amp;gt;&lt;br/&gt;/inputdevice = mouse&lt;br/&gt;/stimulusframes = [1 = consent2, agree, disagree]&lt;br/&gt;/validresponse = (agree, disagree)&lt;br/&gt;/monkeyresponse = ("agree")&lt;br/&gt;/ontrialend = [if (trial.Consent2.response == "disagree") script.abort()]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 = consent1, consent2&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;</description><pubDate>Tue, 02 Mar 2021 16:23:48 GMT</pubDate><dc:creator>amanuel2</dc:creator></item><item><title>RE: Combining something with an html</title><link>https://forums.millisecond.com/Topic30958.aspx</link><description>&lt;blockquote data-id="30957" class="if-quote-wrapper" unselectable="on" data-guid="1614701979638" id="if_insertedNode_1614701978279" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30957" 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="30957" 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="30957" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;amanuel2 - 3/2/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30957"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello!&lt;br/&gt;&lt;br/&gt;I am working on making a consent form and I'm using the HTML function. I want to add to the same page with the HTML an option to accept or deny the consent.&lt;br/&gt;Right now I have the HTML consent form on one page, and another with the option to accept or deny. Is there a way I can have them both on the same page so the accept or deny will just be at the end of the consent HTML file? &lt;br/&gt;I've posted my code below.&lt;br/&gt;&lt;br/&gt;&amp;lt;html consent1&amp;gt;&lt;br/&gt;/ items = ("consent.html")&lt;br/&gt;/ size = (100% ,100%)&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial consent1&amp;gt;&lt;br/&gt;/ stimulusframes = [1=consent1]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text consent2&amp;gt;&lt;br/&gt;/ items = ("By clicking “YES”, you are indicating that you fully understand the previous information and agree to participate in this study.")&lt;br/&gt;/ size = (80%, 10%)&lt;br/&gt;/ vjustify = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text agree&amp;gt;&lt;br/&gt;/items = ("Yes, I agree to particpate.")&lt;br/&gt;/position = (25%, 70%)&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ txcolor = (black)&lt;br/&gt;/txbgcolor = (white)&lt;br/&gt;/size = (30%, 20%)&lt;br/&gt;/ vjustify = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text disagree&amp;gt;&lt;br/&gt;/items = ("No, exit the study.")&lt;br/&gt;/position = (75%, 70%)&lt;br/&gt;/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)&lt;br/&gt;/ txcolor = (black)&lt;br/&gt;/txbgcolor = (white)&lt;br/&gt;/size = (30%, 20%)&lt;br/&gt;/vjustify = center&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial Consent2&amp;gt;&lt;br/&gt;/inputdevice = mouse&lt;br/&gt;/stimulusframes = [1 = consent2, agree, disagree]&lt;br/&gt;/validresponse = (agree, disagree)&lt;br/&gt;/monkeyresponse = ("agree")&lt;br/&gt;/ontrialend = [if (trial.Consent2.response == "disagree") script.abort()]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 = consent1, consent2&lt;br/&gt;]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30957"&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;  Is there a way I can have them both on the same page so the accept or deny will just be at the end of the consent HTML file?&lt;br/&gt;&lt;br/&gt;Yes, of course. /size and /position the &amp;lt;html&amp;gt; element so that it doesn't take up the entire screen, then display everything in a single &amp;lt;trial&amp;gt;.&lt;br/&gt;</description><pubDate>Tue, 02 Mar 2021 16:23:48 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>