Until the SharePoint Modern Interface arrived, developers had to create custom forms in order to hide or show fields to users.
Say a column like "delay in approval" for admins to know how many days have crossed after the due date, this need not be shown to the end users on the request form. Options like InfoPath, jQuery/JavaScript, PowerApps, Spfx were used to hide the field from users on the form.
Now, SharePoint gives you an OOTB (Out Of The Box) way to show/hide selected fields on SharePoint List or Document Library forms - New, Edit, Display. The data in the column is not impacted, just its visibility on the form.
✔️ Steps to show or hide a field in list or library form
- Navigate to your respective list or library.
- Click and open any List Item (or document properties) to view the Display form. You can also use the New form.
- Click "Edit form" from the top right corner of the form.
- Click "Edit Columns".
- Check/Uncheck to show or hide the column.
- Click Save.
SharePoint column - reorder, show, hide
⭐ Points to consider
- The show/hide applies to all 3 forms - New, Edit, Display.
- Columns which are Required/Mandatory cannot be hidden.
- Columns with conditional formulas cannot be hidden.
- Hold and drag-drop up and down to reorder columns, or click on the 3 dots towards the right and move the column up or down. This will rearrange columns on all 3 forms. refer steps here.
- To show or hide columns in SharePoint views, do it from the respective view. Make sure you apply it on a public view if it is for all users.
Have Questions? Post them here!
More Posts related to SharePoint,
- error CAML Query containing special characters
- [Solved] SharePoint Illegal operation attempted on a registry key that has been marked for deletion
- Trigger Flow on selected Listitem from SharePoint view - create button with JSON column formatting
- SharePoint Excel error - The workbook cannot be opened because it contains the following features that are not supported by Excel in the browser
- Send Email with attachment using SharePoint PowerShell, SMTP server
- How to show or hide columns in SharePoint Online List Library from
- SharePoint excel error - A problem occurred while connecting to the server. If the problem continues, contact your administrator.
- How to get SharePoint Online user details from person or group column using REST API
- How to get SharePoint List Item URL using PowerShell
- How to get the SharePoint Tenant Login URL
- Special character & not working with SharePoint REST API
- How to disable SharePoint subsite creation option for owners
- Managed Metadata error - The data returned from the tagging UI was not formatted correctly
- Deploy SharePoint wsp solution package using PowerShell
- How to create classic site in SharePoint Online
- See actual SharePoint error exception modify web.config
- 'Edit Document' Requires a Windows Sharepoint Services-compatible application and Microsoft Internet Explorer 6.0 or higher
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- SharePoint installation error - Setup is unable to proceed due to the following error This product requires Microsoft .Net Framework 4.5
- How to add animated Gif to SharePoint Online Page
- [Solved] SharePoint Search Internal server error exception
- How to create SharePoint Document Library
- SharePoint - Use Today's Date Time in list view filter and calculated column
- How to redirect SharePoint Site Collection to different URL
- SharePoint error cannot connect to the configuration database
More Posts:
- How to find version of Cargo in Rust - Rust
- Examples: Convert String to int in JavaScript - JavaScript
- How to remove quotes from a String in Python - Python
- Display full website URL/address in Safari macOS Browser - MacOS
- SharePoint workflow Canceled - Coercion Failed: Unable to transform the input lookup data into the requested type - SharePoint
- What does apt-get update command does? - Linux
- Python Comments Multiple Lines - Python
- How to Send or Publish SNS Message using AWS CLI - AWS