Forum Discussion
Beth_Culpepper
Jul 14, 2022Brass Contributor
Conditional formatting for item containing data
Can anyone tell me how I can hide several fields that are needed to be seen in a View in SharePoint but not when the user fills out the fields for a new item? I have borrowed some JSON to manipulate...
- Jul 14, 2022
Beth_Culpepper Open an item on your list and select Edit Columns
Hover over the column you want to hide, click on the vertical dots, and select Edit conditional formula
Enter the formula and click save:
=if([$ID] >'0', 'true', 'false')That will hide the column on new but not from the views or on edit.
ganeshsanap
Jul 15, 2022MVP
Beth_Culpepper If you want to hide columns from all list forms (new/display/edit), follow below steps:
- Go to the list & open any item to view the item details in the display form.
- At the top of the form, select Edit form > Edit columns.
- In the Edit columns pane, check (to show) or uncheck (to hide) the checkbox for the column or columns as needed.
- When you're finished, select Save.
Documentation: Show or hide columns in a list or library form
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Beth_Culpepper
Jul 15, 2022Brass Contributor
I tried this first but this did not work for me. Thank you anyway! The response above worked perfectly.