Forum Discussion
pdfrig
Feb 03, 2022Brass Contributor
JSON formatting not sticking in SharePoint Online List Form
In the past couple of months, I noticed that when I try to configure the layout on the SharePoint list form, it doesn't stick. This has been happening on the new lists that we've been creating. Eve...
- Feb 19, 2022Another update and just tried this right now. I saw from another post for a different issue that they changed the list settings - >Advanced Settings - > set Offline Client Availability to No. When I did this on the lists I was having issues with, it worked! the formatting sticks. I'll check again next week and make sure. Let me know if this works for you guys.
DavePoint
Feb 26, 2025Copper Contributor
The offline client availability hack didn't work for me. (My form has informational columns in the header and footer — they used to show columns that were enabled in the view and hidden from the form, but that stopped working last week.) What restored the header and footer was enabling the missing columns with the form's Edit Columns checkbox and then hiding them again with a conditional statement. I used this:
=if(1==2, true, false)Since 1 doesn't equal 2, the column is always hidden from the body of the form, but I can display its value in the header and footer using JSON. Without the conditional statement, the column appears in the body and the header or footer.