Disabling Links in Survey Response Fields | XM Community
Skip to main content

Hi everyone!

We are currently seeking a solution to disable links entered by participants in response fields (text entry questions) of our surveys. We have previously been advised to use custom validation, but this option is incompatible with another validation we have configured for the maximum character count. Specifically, we want the links entered by participants in text fields to not be clickable when viewing the data through tabular widgets on the dashboard.

I really hope that someone can help me. 

 

You could use JS to remove http:// or https:// if it is entered in the text field:

Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" .InputText").blur(function() {
this.value = this.value.replace(/\bhttps?:\/\//i,"");
});
});

 


Leave a Reply