Customizing the SharePoint List Form is one of the core areas most of businesses and developers investigated when we checked the SharePoint history.
In earlier versions of SharePoint Online, we didn’t have an OOTB option to customize the SharePoint Lists and Forms. When Microsoft brings the modern look and feel to SharePoint Online, they begin to provide the updates frequently.
With that update, SharePoint Online receives
- Column Formatting (a JSON format to apply on each Column to change the look and feel on the List View)
- View Formatting (a JSON to apply on the List view to change the look on feel on each row item)
Finally, Microsoft brought the most awaited feature called Form Formatting (Even though it is not a fully customizable – we can expect more updates on this in coming days) this is a very fantastic feature to the SharePoint List Forms.
In earlier days, Microsoft recommend us to use InfoPath, then PowerApps. Now most of the SharePoint Forms are running on PowerApps. For simple customizations also, we require a PowerApps, but this is going to change after the update on Forms Configuration.
Ok, what we can do with this?
SharePoint Online provides three configuration options to customize the forms. They are,
- Header
- Footer
- Body
Header – helps to insert header section to the Form
Footer – helps to insert footer section to the Form
Body – helps to add the one or more sections and decide the columns on each section. Not allowed to format the section and columns (we can expect these features in coming days).
We will transform the Form which from 1st image to 2nd image by using JSON Form Configurations.

Header
Follow the below steps to customize the header section in SharePoint List Form,
- Click New in SharePoint List to open a new form
- Click Edit Form icon button and select Configure Layout to open a Format panel
- Select the Header from the dropdown Apply Formatting to
- Enter the below code in the JSON format box to insert the header section
- {
- "debugMode": true,
- "elmType": "div",
- "txtContent": "New Employee Onboarding",
- "style": {
- "height": "40px",
- "font-size": "18px",
- "font-weight": "600",
- "padding": "10px",
- "color": "#fff",
- "background-color": "#383794"
- }
- }

Then click Preview button to see the changes. Or click Save button to apply the configuration to the form.
Body
Follow the below steps to organize the columns in Body section.
In the Format Panel, select the Body from the dropdown Apply Formatting to






Ricardo CarneiroPosted Feb 10, 2022, 6:09 PM
Hello Kumar, is it possible to better format the BODY, I mean, on the SECTIONS Name, like Employee Name and Details in your example, insert a background color to highlight the TITLE of the Section.
Bille WoPosted May 7, 2021, 11:43 AM
Hi, Kumar, thank you for your sharing. very nice! Is it possible to apply style to body section?
Steve BabcoPosted Apr 22, 2021, 1:42 PM
Hello, great info thank you. I'm having issues showing the list comments option with applying the above. Any idea how I may work around this? Thank you
Kapil PatilPosted Apr 8, 2021, 6:36 PM
Hello Kumar, I am facing an issue while using this feature. I tried to customize body of my sharepoint list however maybe I added wrong code and due to which now its not showing anything on form window. If I click on configure form option to remove the wrong code, it does not lead me to editor window and so I am stuck with a blank form window. Do you know how to get past this issue ? I will be very thankful if you could help me here.
Colin StegerPosted Mar 18, 2021, 4:01 PM
Have you found a way to hide the Attachments field? I disabled Attachments in Advanced settings but, it still shows up in the customized edit form. I tried adding it in hopes that I could set it to false in Edit Columns but, it doesn't show up in the list of columns. I'm thinking it's a bug.
Ruth JennawayPosted Mar 12, 2021, 6:53 PM
Thank you very much for sharing this - really nicely explained, and I quite agree - they need to give us more formatting options for the body area, including being able to say how many columns and to resize the multiline text box :-)
Tarun DPosted Mar 5, 2021, 6:26 AM
Thanks for sharing. Very interesting and useful feature.