# 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](/user-guide/project-settings/teams-and-users/manage-roles.md#collection-permissions-1).\
You can set a specific **field** as *Read only* in its [basic settings](/user-guide/collections/customize-your-fields.md#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.

![](/files/-LykZSMhdzWO_RAP8rLV)

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

![](/files/-Lykb1bqG8Y-UR_zSShM)

{% hint style="info" %}
A field can be disabled in Edit mode for several reasons:\
• if it's set as [read only](/user-guide/collections/customize-your-fields.md#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:

![](/files/-LydbVrRQdHxU1SHdnqF)

### From the Table View

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

![](/files/-M0XEZgKq0hLudH4jGyC)

The edit input will look like this:

![](/files/-M0XFFWtF1oSqzg87uUr)

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:

![](/files/-M0Xn_UnDkEuh_aYtDDa)

{% hint style="warning" %}
**Belongsto** fields' [reference field](/user-guide/collections/manage-your-collection-settings.md#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](/user-guide/getting-started/master-your-ui/using-the-layout-editor-mode/customize-your-creation-and-edition-forms.md).

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.forestadmin.com/user-guide/collections/actions/edit-a-record.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
