How to show or hide columns in SharePoint Online List Library from

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

  1. Navigate to your respective list or library.
  2. Click and open any List Item (or document properties) to view the Display form. You can also use the New form.
  3. Click "Edit form" from the top right corner of the form.
  4. Click "Edit Columns".
  5. Check/Uncheck to show or hide the column.
  6. Click Save.
SharePoint column - reorder, show, hide
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!
Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -