Forum Discussion

Leila_H-F's avatar
Leila_H-F
Copper Contributor
May 23, 2024

SharePoint Libraries Form Conditional Show/Hide not working

Hello all,

 

I have been trying to get the conditional show/hide for columns in library forms to work by following the tutorial located here (https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-conditional-show-hide). Unfortunately, no matter what configuration I use, it does not work and the column never shows. The simplest iteration I tried was to have a column (Identifier) show where a Boolean value (IsPleading) is checked. The syntax is correct, but checking and unchecking the box does nothing, even with refresh, closing out of the browser and re-opening, and everything else I can think of. Can anyone help me with what I may be doing wrong? Screenshots below. My syntax for the "Identifier" column is "=if([$IsPleading] ==true,'true','false')" I have also tried it with =if([$IsPleading] =='Yes','true','false'), =if([$IsPleading] =='1','true','false') and =if([$IsPleading] =='true','true','false') as well as replacing the "$" with "@" and removing the brackets.

 

Any help is greatly appreciated!!

 

 

 

Resources