# Field contexts

When you have custom fields defined for a scope (e.g. the product scope), those fields don't necessarily all apply to every product in your store. \
\
Products of a certain type may need certain fields while it's irrelevant to others\
\
To this end, ACF offers an "Applies to" setting in the field definition dialog:

![](/files/mcMt0pjkXukEs2QnbiA8)

Both sections and individual fields can have applies-to settings. If a section has an applies-to setting, this setting will be inherited by all the section's fields. Otherwise, each individual field can have an applies-to setting on its own.

{% hint style="info" %}
The selection values in the dropdown depend on the scope, you are defining fields for
{% endhint %}

You can select multiple values to filter the section or fields by. If an object fits at least one of the "Applies to" conditions, it will be shown in the editor.

![](/files/DrLXcH5wtIFS4MY9vrqv)

A variation on field contexts is that you can edit fields for selected sections only.\
\
Using the dropdown option of the "Edit values" button, you can select which section to edit:

![](/files/hppDrfuInL03RYs4gqfU)

{% hint style="info" %}
An "Edit by section" selection will still respect any "Applies to" conditions
{% endhint %}


---

# 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://help.accentuate.io/metafield-definitions/field-contexts.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.
