Including a withdraw button in bottom left corner of block? | XM Community
Skip to main content

Hello,
For my study I need to include a "Withdraw" button at the end of each block. However, when I make it a regular multiple choice type question, it is much too large, especially in comparison to the "Next" button.
I would like to include a "withdraw" button that would be around where the "back" button would go, and of a similar size.
I tried searching for this solution, but the JavaScript I've found seems to apply to the old version of Qualtrics or it requires changing the theme (I can't change the theme my institution uses).
Thank you for any help!

Hi there,
My initial thought was to have a button in the footer that would accomplish this somehow. I liked what I found in the below post where clicking the button in the footer sets a value of "1" to an embedded field and then branch logic in the survey flow would check that value before allowing the respondent to proceed with the survey.
https://community.qualtrics.com/XMcommunity/discussion/5815/is-there-a-way-to-add-an-exit-survey-button-that-would-always-be-visibleHowever, perhaps more simply, the multiple choice question approach will also work if the size of the buttons can be reduced. I found a quick line of code in the below post that will accomplish this nicely.
jQuery("#"+this.questionId+" label.SingleAnswer").css({"padding":"5px","display":"inline-block"});
https://community.qualtrics.com/XMcommunity/discussion/3886/how-to-reduce-the-size-of-the-box-around-multiple-choice-answers


Leave a Reply