Forum Discussion
Timmay48182
Jan 27, 2025Copper Contributor
Hide Sections based on selection
I am somewhat new to using Lists outside just an excel like document. I have been playing around with customizing the forms. I want to use this list for three different documents I will populate based on this data. What I want to do is show/hide sections and columns based on a drop down of the report name I will build. I have hid the columns, but I am not sure how to go about hiding the whole section based on the selection. The sections were created by the JSON I used in the body section. I am new to JSON so I am not sure if I can wrap that in a IF statement. Any help would be appreciated.
I have already built a Power App to satisfy my need, but I like the form look and want to learn something new.
Hey Timmay48182
maybe you can find more informations here https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-conditional-show-hide?WT.mc_id=DX-MVP-5004845 or here https://pnp.github.io/List-Formatting/formsamples/.
Power Apps is the better solution and the way to go with more flexibility in your case.
Best, Dave