Removal of Tooltip from Custom List 'Choice' Column Dropdown List

Matt-9236 201 Reputation points
2020-10-03T10:23:18.933+00:00

Hi,

I am using the code snippet below to hide the tooltip that shows the column/field name when a user hovers over any input field on a Custom List form. However, the tooltip still appears when the user hovers over any item in a choice column dropdown list in the same form.

Can anyone help me update the snippet to hide this second tooltip please?

$(document).ready(function() {
      $("tr td[class='ms-formbody'] span input[title!='']").attr
      ('title', '');
      }); 
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,964 questions
0 comments No comments
{count} votes

Accepted answer
  1. Matt-9236 201 Reputation points
    2020-10-05T07:11:17.45+00:00

    That works perfectly. Thanks so much Jerryzy.


1 additional answer

Sort by: Most helpful
  1. Jerryzy 10,571 Reputation points
    2020-10-05T03:03:07.417+00:00

    Hi @Matt-9236 ,

    This is because choice field control is <select> rather than <input> element, change the code snippet as below:

     $(document).ready(function() {  
           $("tr td[class='ms-formbody'] span [title!='']").attr  
           ('title', '');  
      });   
    

    30015-snipaste-2020-10-05-11-01-31.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.