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.
⭐ 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!
- Move Copy Migrate SharePoint OneDrive files folders to different site collection location
- How to generate client id and secret to register SharePoint App with OAuth
- How to share SharePoint site or document with all users in organization
- Get-ADUser PowerShell - Get AD user details using email address
- error CAML Query containing special characters
- Access URL for SharePoint Tenant Admin Center (Online Office 365)
- Fix SharePoint Error - The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started
- SharePoint - The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
- How to delete SharePoint List Item programmatically using C#.Net
- How to Share Microsoft SharePoint Site with Users or Groups
- JSON column formatting to preview SharePoint Online file on mouse hover
- SharePoint List redirect user after submitting form NewForm.aspx
- See actual SharePoint error exception modify web.config
- SharePoint Server 2016 IT Preview Deprecated Removed features
- How to create SharePoint Document Library
- How to Get or Set SharePoint Document ID _dlc_DocId using PowerShell
- How to disable SharePoint subsite creation option for owners
- PowerShell - How to use Try Catch Finally blocks for error exception handling (Windows/SharePoint)
- SharePoint error - Your organization doesn't allow sharing with users from this domain. Please contact your IT department for help. (OSE403)
- [Solved] SharePoint Search Internal server error exception
- How to wrap column text in SharePoint Online Modern List Grid View using JSON formatting
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365
- Changed AD user display name showing old name in SharePoint
- How to hide or remove quick launch left navigation from SharePoint Online Modern site page
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- How to hide or display Wifi icon in macOS Bug Sur Menu Bar - MacOS
- Shortcuts: How to Toggle Word Wrap in Visual Studio Code (VS Code) - Shortcuts
- How to activate and create SharePoint Spaces feature for mixed reality experience - 2D/3D images and web parts - SharePoint
- How to pip install Python Modules in VSCode - Python
- Building library Gradle Project Info: Downloading services.gradle.org - Android-Studio
- How to create StackOverflow error in java - Java
- Get count of SharePoint List or Document Library Items using PowerShell - SharePoint
- Disable Startup Sound on macOS - MacOS