How to hide and show a slider question without changing the text entry? | XM Community
Skip to main content

Hi,
I need to have the entry text in my survey (which is a music clip) shown while I hide and then show the sliders in my slider question type. Is there a way of doing it using JavaScript?
Also, is there a way to allow the music clip to be played only once? I looked into older solutions and none have worked.
Any help appreciated, thanks!

I may not be understanding your issue but it seems like you should be able to add the timing question underneath the slider question and then delay showing it. Of course, this would depend on how many questions you have showing on each page which can be changed in the Look and Feel.


Hi Tonya_Fulton , thanks for answering! In fact I got the solution for my problem in another post, using this code from Tom_1842
var q="#"+this.questionId+" > div.Inner.BorderColor.HSLIDER > div > fieldset > div";
jQuery(q).css("content-visibility","hidden");
setTimeout(function () {
    jQuery(q).css("content-visibility","visible");
},5000);


Leave a Reply