I’m running a survey that’s been targeted by some bots and I came across the honeypot method. The code below was posted several times but I’m confused with what I do with it and to test it.
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId).prev('.Separator').hide();
jQuery("#"+this.questionId).hide();
});
Is the above correct? Do I simply copy and paste that into the JavaScript after deleting all the other stuff? Do I have to make edits to it? I don’t code so I don’t know if that messes things up. And after I do that, do I simply write my question and only bots will see it?