checkbox on sharepoint list

Brownfield, Pamela 1 Reputation point
2021-09-07T13:44:41.23+00:00

Need to create a checkbox on the list as in the pic below .
SharePoint has out of box checkbox on a task list only.
I need to create one for other list that is not a task list. Any ideas how to do this?

129899-image.png

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,569 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Brownfield, Pamela 1 Reputation point
    2021-09-07T13:52:09.227+00:00

    129900-screenshot-2021-09-07-094547.jpeg

    0 comments No comments

  2. RaytheonXie_MSFT 30,906 Reputation points Microsoft Vendor
    2021-09-08T09:51:09.17+00:00

    Hi @Brownfield, Pamela ,
    You can try following code to add checkbox to sharepoint list

    <script language="javascript" type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>    
    <script type="text/javascript">    
        $(document).ready(function() {  
    				AddCustomUserActionToECB();  
    			});   
        
        function AddCustomUserActionToECB() {    
      	$(".ms-headerCellStyleIcon.ms-vh-icon.ms-vh-selectAllIcon").after("<input type='checkbox'>");	  
    	$('.ms-cellStyleNonEditable.ms-vb-itmcbx.ms-vb-imgFirstCell').after("<input type='checkbox'>");  
            }    
    </script>    
    

    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.