Hi @Chandrika Kambala,
Ok, Let's use JSON to do this. Please refer to the following steps:
- Open the List or Library: Navigate to the list or library where you want to customize the form.
- New an Item: Click on New an item button.
- Configure Layout: At the top of the form, click on the dropdown button to expand the edit form settings and select the "Configure layout" option. This will open a format pane where you can select the part of the form you want to customize.
- Select Body: In the format pane, select "Body" on the "Applying formatting to" field.
- Using the following JSON, please replace each section with your two fields. Add section until you show all your fields.
{ "sections": [ { "displayname": "SectionA", "fields": [ "Title", "ProjectStartDate" ] }, { "displayname": "SectionA", "fields": [ "ProjectEndDate", "PercentComplete" ] }, { "displayname": "SectionB", "fields": [ "TaskType", "DueDate" ] }, { "displayname": "SectionC", "fields": [ "StartDate", "AssignedTo" ] }, { "displayname": "SectionD", "fields": [ "TaskDescription", "Attachments" ] }, ..... ] }
Please note:
- According to the official documentation, JSON only divides the form from a single column into multiple columns. Based on the official image and my test results, it seems to divide the form into three columns by default. JSON can't divide the form into two columns; the default is to divide it into three columns.
- If we want to show only two columns, we can only add two fields per section. But the final form is still divided into three columns, and we are only using two of them. Here is my test result:
If you have any questions, please do not hesitate to contact me.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. It will be beneficial to more community members reading here. Your contribution will be highly appreciated.