> 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

```coffeescript
{
   "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"
               }
            ]
      }
   ]
}
```
