We can configure the SharePoint modern site list form using JSON formatting, which has the following use cases:
- If you want to implement multiple column forms rather than existing single column look and feel
- If you want to hide and show field/column-based forms in a simple and easy way
- If you don’t have Power App license but still want to change some look and feel of list forms
- If you want to group the fields/columns in the list form
Steps to use JSON formatting to change the form look and feel follows the below steps:
- Open the New form of list

- See the form is showing only one column view

- Click on the highlighted icon and choose the below option

- The below screen will appear, It will shows a dropdown with three options namely
- Header
- Body
- Footer

- Copy the JSON and paste in the field for header
- {
- "debugMode": true,
- "elmType": "div",
- "attributes": {
- "class": "ms-borderColor-neutralTertiary"
- },
- "style": {
- "width": "99%",
- "border-top-width": "0px",
- "border-bottom-width": "1px",
- "border-left-width": "0px",
- "border-right-width": "0px",
- "border-style": "solid",
- "margin-bottom": "16px",
- "background-color": "#026d70"
- },
- "children": [{
- "elmType": "div",
- "style": {
- "display": "flex",
- "box-sizing": "border-box",
- "align-items": "center"
- },
- "children": [{
- "elmType": "div",
- "attributes": {
- "iconName": "Group",
- -Use icon as per your requirement "class": "ms-fontSize-42 ms-fontWeight-regular ms-fontColor-white",
- "title": "Details"
- },
- "style": {
- "flex": "none",
- "padding": "0px",
- "padding-left": "5px",
- "height": "36px"
- }
- }]
- }, {
- "elmType": "div",
- "attributes": {
- "class": "ms-fontColor-neutralSecondary ms-fontWeight-bold ms-fontSize-24"
- },
- "style": {
- "box-sizing": "border-box",
- "width": "100%",
- "text-align": "left",
- "padding": "21px 12px",
- "overflow": "hidden",
- "color": "white"
- },
- "children": [{
- "elmType": "div",
- "txtContent": "New Form" - This is the Form Title
- }]
- }]
- }


Join the conversation! Your thoughts help the community grow.