2

I am using the surveys in SP 2010 to provide feedback on services. Rating level is made from 1-5 with radio checkbox and also I have framed two questions in the survey. Whenever mouse hover is made on the radio buttons the whole tag appears in the yellow standard tooltip.

I have added the questions by using two different tags in Additional Question Settings.

<br>How satisfied are you with the communications you received?<br/>
<br>How satisfied are you with the timeliness of how the incident was managed?<br/>

How could I possibly hide the tooltip?

2
  • <br> tag doesn't allow content within. Anyhow, I didn't get what you said about additional question settings. What is that you have done exactly?
    – MdMazzotti
    Commented Jan 29, 2014 at 11:09
  • In survey setting, under a single question I have differentiated these two. And now the yellow standard tooltip appears on mouse hover which needs to be removed. Commented Jan 29, 2014 at 11:17

1 Answer 1

1

Go to http://yoursite/Lists/yoursurvey/newform.aspx

Edit the page (site actions > edit page), then add a CEWP and link to a .js file you'll have put in eg. the SiteAssets library.

With this bit of jQuery you should be able to get rid of the tooltips:

<script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("disableTooltips");

    function disableTooltips(){
        $('.ms-RadioText').removeAttr('title');
    }
</script>  
9
  • I uploaded this piece of code in StyleLibrary and referred this js in CEWP. and its still the same.<script type="text/javascript"> /* This bit of jQuery is used to get rid of yellow standard tooltip*/ $('.ms-RadioText').removeAttr('title'); </script> Commented Jan 29, 2014 at 11:32
  • make sure to fire it after the page has been fully loaded. Try using the _spBodyOnLoadFunctionNames.push("myCustomFunctionName"); see stephanrocks.com/2011/10/05/…
    – MdMazzotti
    Commented Jan 29, 2014 at 11:34
  • Is this formation correct?$('.ms-RadioText').removeAttr('title'); _spBodyOnLoadFunctionNames.push("myCustomFunctionName"); Commented Jan 29, 2014 at 11:37
  • I edited my answer
    – MdMazzotti
    Commented Jan 29, 2014 at 11:40
  • I used it and still I get to see the tooltips. Commented Jan 29, 2014 at 11:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.