Forum Discussion
Conditional formatting in SharePoint list
Hello Everyone,
I am trying to create a SharePoint list where certain columns are only displayed if a specific column contains a value. I’m quite new to conditional formatting and have been struggling to get it to work.
The column I want to check is "Sales_x0020__x002d__x0020_Respon". If this column contains a name, I want another column to be visible.
If it’s empty, the column should be hidden.
Any advice or guidance would be greatly appreciated!
Hello Undenius
i try to use the example from Microsoft https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-conditional-show-hide#specify-conditional-formula-to-show-or-hide-columns?WT.mc_id=DX-MVP-5004845 and it works fine:
=if([$Category] == 'Product Management', 'true', 'false')
Try to use a better naming for your columns, ex. SalesRespond, not with blank spaces, special characters or others...
Best, Dave