﻿<?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  » Branch on Survey Page if Certain Button Clicked</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 17:11:04 GMT</lastBuildDate><ttl>20</ttl><item><title>Branch on Survey Page if Certain Button Clicked</title><link>https://forums.millisecond.com/Topic25862.aspx</link><description>Hi all,&lt;br/&gt;On the first page of my study I have a consent form, and the question "Do you consent to this study?". I currently have it so "Yes" is the valid response, but would like to make it so if the participant clicks "Yes", they are able to progress through the study as usual, but if they click "No", they are sent to the last survey page (which will display a random code). I feel as though I am on the right track, but do not know where I am going wrong. I have tried removing /validresponse = ("Yes"), however the participant is still able to progress through the study when they click "No". Is there a way I can fix this?&lt;br/&gt;&lt;br/&gt;My current syntax for this section is:&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons consent&amp;gt;&lt;br/&gt;/ caption = "Do you consent to participate in this study?"&lt;br/&gt;/ options = ("Yes",&lt;br/&gt;"No")&lt;br/&gt;/ validresponse = ("Yes")&lt;br/&gt;/ orientation = vertical&lt;br/&gt;/ position = (35.25%, 75%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage consent_form&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/itemfontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/responsefontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/ questions = [1 = Logo; 2 = ConsentForm; 3 = radiobuttons.consent]&lt;br/&gt;/ txcolor = black&lt;br/&gt;/showpagenumbers = false&lt;br/&gt;/showquestionnumbers = false&lt;br/&gt;/ nextbuttonposition = (85%, 90%)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;/ branch = [if(radiobuttons.consent == "No"){surveypage.end_page}]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Thank you so much!&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 10 Oct 2018 20:12:38 GMT</pubDate><dc:creator>bmont</dc:creator></item><item><title>RE: Branch on Survey Page if Certain Button Clicked</title><link>https://forums.millisecond.com/Topic25866.aspx</link><description>&lt;div data-id="25865" class="if-quote-wrapper" unselectable="on" data-guid="1539227535631"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25865" 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="25865" 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="25865" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, October 10, 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-25865"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25864" class="if-quote-wrapper" unselectable="on" data-guid="1539227535631"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25864" 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="25864" 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="25864" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;bmont - Wednesday, October 10, 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-25864"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Another update:&lt;br/&gt;So while I have successfully branched the participant to the end page if they click "No", they are still able to click continue from the end page and progress through the study. Is there a way I can have the study terminate after they are presented with the end page? If a participant progresses through the study as usual, the "Finish" button on the end page closes the study, however in this case it is a "Continue" button.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you again (and sorry for all of the updates)!&lt;a class="if-quote-goto quote-link" href="#" data-id="25864"&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;You should use /skip instead of /branch for that:&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons consent&amp;gt;&lt;br/&gt;/ caption = "Do you consent to participate in this study?"&lt;br/&gt;/ options = ("Yes",&lt;br/&gt;"No")&lt;br/&gt;/ orientation = vertical&lt;br/&gt;/ position = (35.25%, 75%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage consent_form&amp;gt;&lt;br/&gt;/ caption = "Consent Form Placeholder"&lt;br/&gt;/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/itemfontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/responsefontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/ questions = [1 = radiobuttons.consent]&lt;br/&gt;/ txcolor = black&lt;br/&gt;/showpagenumbers = false&lt;br/&gt;/showquestionnumbers = false&lt;br/&gt;/ nextbuttonposition = (85%, 90%)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg1&amp;gt;&lt;br/&gt;&lt;strong&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;/ caption = "Page 1: You should not see this if you didn't consent"&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg2&amp;gt;&lt;br/&gt;&lt;strong&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;/ caption = "Page 2: You should not see this if you didn't consent"&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage endpage&amp;gt;&lt;br/&gt;/ caption = "This is the end."&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;survey mysurvey&amp;gt;&lt;br/&gt;/ pages = [1=consent_form; 2 = pg1; 3 = pg2; 4 = endpage]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/survey&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;And if you want differently behaving end pages for consent vs no consent, you can do:&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons consent&amp;gt;&lt;br/&gt;/ caption = "Do you consent to participate in this study?"&lt;br/&gt;/ options = ("Yes",&lt;br/&gt;"No")&lt;br/&gt;/ orientation = vertical&lt;br/&gt;/ position = (35.25%, 75%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage consent_form&amp;gt;&lt;br/&gt;/ caption = "Consent Form Placeholder"&lt;br/&gt;/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/itemfontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/responsefontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/ questions = [1 = radiobuttons.consent]&lt;br/&gt;/ txcolor = black&lt;br/&gt;/showpagenumbers = false&lt;br/&gt;/showquestionnumbers = false&lt;br/&gt;/ nextbuttonposition = (85%, 90%)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg1&amp;gt;&lt;br/&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;br/&gt;/ caption = "Page 1: You should not see this if you didn't consent"&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg2&amp;gt;&lt;br/&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;br/&gt;/ caption = "Page 2: You should not see this if you didn't consent"&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage regular_endpage&amp;gt;&lt;br/&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;br/&gt;/ caption = "This is the end."&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage noconsent_endpage&amp;gt;&lt;br/&gt;&lt;strong&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "Yes";&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;/ caption = "This is the end."&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;survey mysurvey&amp;gt;&lt;br/&gt;/ pages = [1=consent_form; 2 = pg1; 3 = pg2; 4 = regular_endpage; 5 = noconsent_endpage]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/survey&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25865"&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;Thank you, Dave! You have helped me so much throughout this!</description><pubDate>Wed, 10 Oct 2018 20:12:38 GMT</pubDate><dc:creator>bmont</dc:creator></item><item><title>RE: Branch on Survey Page if Certain Button Clicked</title><link>https://forums.millisecond.com/Topic25865.aspx</link><description>&lt;div data-id="25864" class="if-quote-wrapper" unselectable="on" data-guid="1539223431139"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25864" 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="25864" 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="25864" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;bmont - Wednesday, October 10, 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-25864"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Another update:&lt;br/&gt;So while I have successfully branched the participant to the end page if they click "No", they are still able to click continue from the end page and progress through the study. Is there a way I can have the study terminate after they are presented with the end page? If a participant progresses through the study as usual, the "Finish" button on the end page closes the study, however in this case it is a "Continue" button.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you again (and sorry for all of the updates)!&lt;a class="if-quote-goto quote-link" href="#" data-id="25864"&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;You should use /skip instead of /branch for that:&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons consent&amp;gt;&lt;br/&gt;/ caption = "Do you consent to participate in this study?"&lt;br/&gt;/ options = ("Yes",&lt;br/&gt;"No")&lt;br/&gt;/ orientation = vertical&lt;br/&gt;/ position = (35.25%, 75%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage consent_form&amp;gt;&lt;br/&gt;/ caption = "Consent Form Placeholder"&lt;br/&gt;/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/itemfontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/responsefontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/ questions = [1 = radiobuttons.consent]&lt;br/&gt;/ txcolor = black&lt;br/&gt;/showpagenumbers = false&lt;br/&gt;/showquestionnumbers = false&lt;br/&gt;/ nextbuttonposition = (85%, 90%)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg1&amp;gt;&lt;br/&gt;&lt;strong&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;/ caption = "Page 1: You should not see this if you didn't consent"&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg2&amp;gt;&lt;br/&gt;&lt;strong&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;/ caption = "Page 2: You should not see this if you didn't consent"&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage endpage&amp;gt;&lt;br/&gt;/ caption = "This is the end."&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;survey mysurvey&amp;gt;&lt;br/&gt;/ pages = [1=consent_form; 2 = pg1; 3 = pg2; 4 = endpage]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/survey&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;And if you want differently behaving end pages for consent vs no consent, you can do:&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons consent&amp;gt;&lt;br/&gt;/ caption = "Do you consent to participate in this study?"&lt;br/&gt;/ options = ("Yes",&lt;br/&gt;"No")&lt;br/&gt;/ orientation = vertical&lt;br/&gt;/ position = (35.25%, 75%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage consent_form&amp;gt;&lt;br/&gt;/ caption = "Consent Form Placeholder"&lt;br/&gt;/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/itemfontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/responsefontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/ questions = [1 = radiobuttons.consent]&lt;br/&gt;/ txcolor = black&lt;br/&gt;/showpagenumbers = false&lt;br/&gt;/showquestionnumbers = false&lt;br/&gt;/ nextbuttonposition = (85%, 90%)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg1&amp;gt;&lt;br/&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;br/&gt;/ caption = "Page 1: You should not see this if you didn't consent"&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage pg2&amp;gt;&lt;br/&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;br/&gt;/ caption = "Page 2: You should not see this if you didn't consent"&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage regular_endpage&amp;gt;&lt;br/&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "No";&lt;br/&gt;]&lt;br/&gt;/ caption = "This is the end."&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage noconsent_endpage&amp;gt;&lt;br/&gt;&lt;strong&gt;/ skip = [&lt;br/&gt;radiobuttons.consent.response == "Yes";&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;/ caption = "This is the end."&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;survey mysurvey&amp;gt;&lt;br/&gt;/ pages = [1=consent_form; 2 = pg1; 3 = pg2; 4 = regular_endpage; 5 = noconsent_endpage]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;&amp;lt;/survey&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 10 Oct 2018 19:12:22 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Branch on Survey Page if Certain Button Clicked</title><link>https://forums.millisecond.com/Topic25864.aspx</link><description>&lt;div data-id="25863" class="if-quote-wrapper" unselectable="on" data-guid="1539221235298"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25863" 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="25863" 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="25863" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;bmont - Wednesday, October 10, 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-25863"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25862" class="if-quote-wrapper" unselectable="on" data-guid="1539221235298"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25862" 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="25862" 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="25862" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;bmont - Wednesday, October 10, 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-25862"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;On the first page of my study I have a consent form, and the question "Do you consent to this study?". I currently have it so "Yes" is the valid response, but would like to make it so if the participant clicks "Yes", they are able to progress through the study as usual, but if they click "No", they are sent to the last survey page (which will display a random code). I feel as though I am on the right track, but do not know where I am going wrong. I have tried removing /validresponse = ("Yes"), however the participant is still able to progress through the study when they click "No". Is there a way I can fix this?&lt;br/&gt;&lt;br/&gt;My current syntax for this section is:&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons consent&amp;gt;&lt;br/&gt;/ caption = "Do you consent to participate in this study?"&lt;br/&gt;/ options = ("Yes",&lt;br/&gt;"No")&lt;br/&gt;/ validresponse = ("Yes")&lt;br/&gt;/ orientation = vertical&lt;br/&gt;/ position = (35.25%, 75%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage consent_form&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/itemfontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/responsefontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/ questions = [1 = Logo; 2 = ConsentForm; 3 = radiobuttons.consent]&lt;br/&gt;/ txcolor = black&lt;br/&gt;/showpagenumbers = false&lt;br/&gt;/showquestionnumbers = false&lt;br/&gt;/ nextbuttonposition = (85%, 90%)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;/ branch = [if(radiobuttons.consent == "No"){surveypage.end_page}]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Thank you so much!&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25862"&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;UPDATE: I have managed to fix this issue, using the script downloaded from this topic page:&amp;nbsp;&lt;a href="https://www.millisecond.com/forums/Topic2582.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic2582.aspx"&gt;https://www.millisecond.com/forums/Topic2582.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Thank you again!&lt;a class="if-quote-goto quote-link" href="#" data-id="25863"&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;&lt;br/&gt;&lt;br/&gt;Another update:&lt;br/&gt;So while I have successfully branched the participant to the end page if they click "No", they are still able to click continue from the end page and progress through the study. Is there a way I can have the study terminate after they are presented with the end page? If a participant progresses through the study as usual, the "Finish" button on the end page closes the study, however in this case it is a "Continue" button.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you again (and sorry for all of the updates)!</description><pubDate>Wed, 10 Oct 2018 18:29:48 GMT</pubDate><dc:creator>bmont</dc:creator></item><item><title>RE: Branch on Survey Page if Certain Button Clicked</title><link>https://forums.millisecond.com/Topic25863.aspx</link><description>&lt;div data-id="25862" class="if-quote-wrapper" unselectable="on" data-guid="1539220684689"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25862" 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="25862" 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="25862" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;bmont - Wednesday, October 10, 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-25862"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;On the first page of my study I have a consent form, and the question "Do you consent to this study?". I currently have it so "Yes" is the valid response, but would like to make it so if the participant clicks "Yes", they are able to progress through the study as usual, but if they click "No", they are sent to the last survey page (which will display a random code). I feel as though I am on the right track, but do not know where I am going wrong. I have tried removing /validresponse = ("Yes"), however the participant is still able to progress through the study when they click "No". Is there a way I can fix this?&lt;br/&gt;&lt;br/&gt;My current syntax for this section is:&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons consent&amp;gt;&lt;br/&gt;/ caption = "Do you consent to participate in this study?"&lt;br/&gt;/ options = ("Yes",&lt;br/&gt;"No")&lt;br/&gt;/ validresponse = ("Yes")&lt;br/&gt;/ orientation = vertical&lt;br/&gt;/ position = (35.25%, 75%)&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage consent_form&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/itemfontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/responsefontstyle = ("Arial", 1.2%, false, false, false, false, 5, 1)&lt;br/&gt;/ questions = [1 = Logo; 2 = ConsentForm; 3 = radiobuttons.consent]&lt;br/&gt;/ txcolor = black&lt;br/&gt;/showpagenumbers = false&lt;br/&gt;/showquestionnumbers = false&lt;br/&gt;/ nextbuttonposition = (85%, 90%)&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ showbackbutton = false&lt;br/&gt;/ branch = [if(radiobuttons.consent == "No"){surveypage.end_page}]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Thank you so much!&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25862"&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;UPDATE: I have managed to fix this issue, using the script downloaded from this topic page:&amp;nbsp;&lt;a href="https://www.millisecond.com/forums/Topic2582.aspx"&gt;https://www.millisecond.com/forums/Topic2582.aspx&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Thank you again!</description><pubDate>Wed, 10 Oct 2018 18:18:34 GMT</pubDate><dc:creator>bmont</dc:creator></item></channel></rss>