We can configure the SharePoint modern site list form using JSON formatting, which has the following use cases:
  1. If you want to implement multiple column forms rather than existing single column look and feel
  2. If you want to hide and show field/column-based forms in a simple and easy way
  3. If you don’t have Power App license but still want to change some look and feel of list forms
  4. 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
The above JSON is self-explanatory, which has three div.’s, first div is for main container div for header and next two for below…
    • For Icon
    • For Title
Click on preview button to see the applied JSON configuration to header.
  • For Body, copy and paste the below JSON, choose Body from dropdown first
Here in the above JSON, Section is used to divide the fields in multi column views. Use the column display name to put that column section if any field not mention the section then that field/column will automatically display in the last section.

You can see the JSON is self-explanatory so you can add any number of sections here in the JSON.

  • For Footer copy and pasting below JSON, buttons will not be associated with any part; i.e. it is not associated with Header, Body or Footer section.
The above JSON is just to add some border margin below the body, and you can refer the header JSON to add div children in this section if you want. Just complete all these steps and your list form will look better than the default list form, just click on Save button as highlighted in the below screen.
Format The SharePoint Modern Site List Form Using JSON Formatting
This formatting will apply to all three forms of SharePoint list form.
For more information please visit the Microsoft site.