Still cannot disable copy/pasting in my survey after trying every code in the book! | XM Community
Skip to main content

Would anyone be able to help me with this? Thank you so much!

Here’s my survey link: https://unomaha.az1.qualtrics.com/jfe/form/SV_7ZZxpyjGK02y0jY

Here are the just a few of the codes I’ve tried (plus many others): 

1.body {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

 

2.jQuery("#"+this.questionId+" .InputText:eq(0)").on("cut copy paste",function(e) {
   e.preventDefault();
  });

 

3.Qualtrics.SurveyEngine.addOnReady(function () { const qc = this.getQuestionContainer(); qc.querySelectorAll("input").forEach((item) => { jQuery(item).bind("paste", function (e) { e.preventDefault(); }); }); });

 

 

I don’t know what else to do from here. Any insight would be so appreciated! 

Hi, this might help.


Leave a Reply