Forum Discussion
Niklas15
Apr 04, 2025Copper Contributor
JSON Formating List
Hello, is it possible to format the size of each field in the formular?
Hi Niklas15
the possibilities to change the list form with FormsFormatting you can find here: https://learn.microsoft.com/sharepoint/dev/declarative-customization/list-form-configuration?WT.mc_id=DX-MVP-5004845 You can find any examples here: https://pnp.github.io/List-Formatting/formsamples/
You can use Power Apps for a custom forms design: https://learn.microsoft.com/sharepoint/dev/business-apps/power-apps/get-started/create-your-first-custom-form?WT.mc_id=DX-MVP-5004845
Regards, Dave
- QuincyFrostIron Contributor
1. Check formatting
Verify that JSON is valid using the online tool JSONLint
Ensure that all quotes "" and parentheses {} are closed in pairs
2. Match field types
Numeric values should not be in quotes "price": 100 (correct) vs. "price": "100" (incorrect)
The date must be formatted as "2023-01-01T00:00:00Z"
3. Re-enter data
Delete problematic JSON
Manually enter simple test data
4. Field name checking
Confirm internal field names in list settings (display names may be different)
e.g. "ProductName" may correspond to Title or ProductName
5. Special Character Handling
Backslashes in front of quotes in the text: "Remarks": "This is \" important \ "Note"
Line wrapping with \n:" Content": "first line \n second line"
6. Test directly with your browser
Press F12 to open Developer Tools
Go to Network tab
View error response when submitting