Remove “Show More” in SharePoint Task List
Requirement: Remove “Show More” in the SharePoint task list new and edit forms!
By default, SharePoint On-premises or SharePoint Online New task or Edit task forms display only the first Four fields from the task list, and when the user clicks on the “Show More” link, all other fields of the task list are displayed.
How to remove the task list “show more” in SharePoint Online?
To remove show more and display all fields of the task list, follow these steps:
- Navigate to your Task list New form (such as: https://crescent.sharepoint.com/Lists/Tasks/NewForm.aspx) by clicking on “New Task”.
- From the Site settings gear icon, click on “Edit Page” >> Click on the “Add a web part” link and then insert a “Script Editor” web part.
- Click on the “Edit Snippet” link on the web part, insert this CSS in the script editor web part, save, and close the page.
<style type="text/css">
/* Remove "show more" Link */
.ms-formtable > tbody:last-child {
display: none !important;
}
/* Show all fields in form */
.ms-formtable tbody {
display: table-row-group !important;
}
</style>
This removes show more in SharePoint task lists:
You can also repeat the same steps to remove “Show more” from the edit task form.
I truely appreciate the commitment you put into this blog and It’s always useful to read articles you present. Thanks, Ahmed