Forum Discussion

leonardbd's avatar
leonardbd
Copper Contributor
Sep 06, 2023

SharePoint List Layout - Body formatting is not maintaining the filed order as per the code

Hi There,

I can't arrange the filed order in my List by applying codes in the Body. It's grouping in sections but not maintaining the order. Is there any workaround?

{
    "sections": [
        {
            "displayname": "Requestor Details:",
            "fields": [
                "Requestor",
                "StaffCat",
                "Section",
                "Requestor_Pers_Email",
                "ContractEnd",
                "DateDeparture",
                "DateCompleted",
                "FieldOffice"
            ]
        },
....
...

 

  • leonardbd I think field order on list forms cannot be defined using the body sections/JSON formatting.

     

    You can change the order of fields on SharePoint list form using below steps:

    1. Go to your SharePoint list
    2. Open New form or View form if you already have items in the list
    3. Click on Edit form icon/option at the top right corner of form panel and select Edit columns
    4. Select the column and drag above/below other columns OR click on ellipses (...) and use Move Up/Move Down options for moving individual columns: 
    5. Then click Save button

    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

  • leonardbd I think field order on list forms cannot be defined using the body sections/JSON formatting.

     

    You can change the order of fields on SharePoint list form using below steps:

    1. Go to your SharePoint list
    2. Open New form or View form if you already have items in the list
    3. Click on Edit form icon/option at the top right corner of form panel and select Edit columns
    4. Select the column and drag above/below other columns OR click on ellipses (...) and use Move Up/Move Down options for moving individual columns: 
    5. Then click Save button

    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

    • leonardbd's avatar
      leonardbd
      Copper Contributor
      Wow.. It was there all time and I never found 🙂
      Thanks a lot

Resources