# Edit a record

Your data is made up of records which contains fields. Each field can be edited - provided the right permission is set. Here we'll learn how to edit a field.

{% hint style="info" %}
You can set an entire **collection** as *Read only* for specific roles in the [Roles tab](https://docs.forestadmin.com/user-guide/project-settings/teams-and-users/manage-roles#collection-permissions-1).\
You can set a specific **field** as *Read only* in its [basic settings](https://docs.forestadmin.com/user-guide/customize-your-fields#basic-settings).
{% endhint %}

### From the Details View

To edit a record from the Details View, simply click on the Edit button at the top right.

![](https://85223878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOx0Wo3NZjrQrGQthTy6o%2Fuploads%2Fgit-blob-312c3ce51e1d73f8b122eb61031e44e1417054fa%2FCapture%20d%E2%80%99e%CC%81cran%202020-01-16%20a%CC%80%2023.54.47.png?alt=media)

You'll enter an Edit mode where you can change values of editable fields. Don't forget to **Save**!

![](https://85223878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOx0Wo3NZjrQrGQthTy6o%2Fuploads%2Fgit-blob-608470af308fb8c2e2701f490fb6d2ca4d315b2f%2FCapture%20d%E2%80%99e%CC%81cran%202020-01-17%20a%CC%80%2000.05.03.png?alt=media)

{% hint style="info" %}
A field can be disabled in Edit mode for several reasons:\
• if it's set as [read only](https://docs.forestadmin.com/user-guide/customize-your-fields#basic-settings)\
• if it's a Smart Field with no `set` method
{% endhint %}

### From the Summary View

You can edit from your Summary View just as easily:

![](https://85223878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOx0Wo3NZjrQrGQthTy6o%2Fuploads%2Fgit-blob-e4496df71290f0e1f5518511e3a24fdd15c870a8%2Fimage.png?alt=media)

### From the Table View

To edit from the Table View ("*inline editing*"), **right-click** on the field you wish to edit:

![](https://85223878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOx0Wo3NZjrQrGQthTy6o%2Fuploads%2Fgit-blob-c3773c753d18f6bb95225975cb6de124f562ec10%2FCapture%20d%E2%80%99e%CC%81cran%202020-02-20%20a%CC%80%2011.55.14.png?alt=media)

The edit input will look like this:

![](https://85223878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOx0Wo3NZjrQrGQthTy6o%2Fuploads%2Fgit-blob-368ca597adb1271d6d924e8a78c0ab15d8075eef%2FCapture%20d%E2%80%99e%CC%81cran%202020-02-20%20a%CC%80%2011.59.04.png?alt=media)

Once you've edited the field:

* Click on *Save* or press **Enter** to save
* Click on *Discard* or press **Escape** to cancel any changes and exit the inline edit

:warning:If the field is **read-only**, *Edit* will appear disabled in the right-click menu:

![](https://85223878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOx0Wo3NZjrQrGQthTy6o%2Fuploads%2Fgit-blob-5eba930be99991ebb88d43aebb70ff47b9aea79a%2FCapture%20d%E2%80%99e%CC%81cran%202020-02-20%20a%CC%80%2014.33.02.png?alt=media)

{% hint style="warning" %}
**Belongsto** fields' [reference field](https://docs.forestadmin.com/user-guide/manage-your-collection-settings#general-tab) - which appear in blue and are a link to another record - can neither be edited nor copied. However you can still copy their value "**manually**".
{% endhint %}

### Ajusting the way you edit your data

The above forms can be customized [using the Layout Editor](https://docs.forestadmin.com/user-guide/getting-started/master-your-ui/using-the-layout-editor-mode/customize-your-creation-and-edition-forms).

Moreover, each field uses a default [edit widget](https://docs.forestadmin.com/user-guide/collections/customize-your-fields/edit-widgets) which can also be changed to better fit your edition need.
