Hide Survey Question | XM Community
Question

Hide Survey Question

  • 29 October 2020
  • 1 reply
  • 3 views

Hello, I am trying to hide a question that I have an Edited Default Choice assigned. For example, I have a specific date that is already hard coded using the Edit Default Choice. However, I do not want this on the survey when I distribute. But I do want the specific date that I created to show up in the results of the survey. Please advise.


1 reply

Userlevel 7
Badge +22

Put the below code in the JS of the question:
jQuery("#"+this.questionId).hide();

Leave a Reply