> For the complete documentation index, see [llms.txt](https://docs.gridmate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gridmate.io/troubleshooting/config-samples/layout-with-read-only-field.md).

# Layout with read only field

Paste into **Record Layout** of [GM - Record Layout](/package-reference/components-library/gm-record-layout.md), [GM - Record Layout (LWC)](/package-reference/components-library/gm-record-layout-lwc.md) or [GM - Enhanced Record Layout](/package-reference/components-library/gm-enhanced-record-layout.md). See [Record Layout (LWC)](/product-tour/record-layout-lwc.md).

```json
{
   "sections": [
      {
         "name": "accountInformation",
         "label": "Account Information",
         "active": true,
         "cols": 3,
         "rows": [
            [
               {
                  "apiName": "Name"
               },
               {
                  "apiName": "AccountSource",
                  "readOnly": {
                     "AccountSource": {
                        "operator": "in",
                        "value": [
                           "Web",
                           "Other"
                        ]
                     }
                  }
               },
               {
                  "apiName": "Industry"
               }
            ],
            [
               {
                  "apiName": "Phone"
               },
               {
                  "apiName": "Fax"
               },
               {
                  "apiName": "Website"
               }
            ]
         ]
      }
   ]
}
```
