Forum Discussion
SharePoint List - Hide Sections
Thanks for your response. I was able to conditionally hide the fields, but if those fields are in a section, then the section heading is still there with nothing in it, which looks stupid. I had hoped maybe my JSON was just bad, but maybe there is no way to do this.
Not much help in achieving what you are after, but a bit of context. I'm 99% sure that this used to work - if you had a section with 3 x fields and you conditionally hid those 3 x fields, the section wouldn't display because there were no visible columns. However, somewhere along the line (likely with the new Microsoft List updates) it now shows the heading regardless. Hopefully, someone at Microsoft will fix this.
There is also a large disconnect between the new List Form (where users without access to the list can still submit records) and the List View/New/Edit forms we have in SharePoint. I hope some of the new design changes start to come across, so they all align. I would love to see branching and even sections (similar to Microsoft Forms sections) be implemented in SharePoint.