# Options

Options are adjustments that can be made on top of your selected widget settings.

{% hint style="info" %}
Options apply right before the value is displayed, that's why they are **only available in the display settings** panel.
{% endhint %}

![](/files/-MHWxIQH24J_DLmRECX6)

There are 2 options. Some are available only on specific widgets.

## Alter values

This option allows you modify values fetched from your database before they are displayed on your screen.

![](/files/-MHWy-dGlNJgLP35MCHp)

This options is best suited for `enum` type fields (since there is a finite number of possible values), but can also be useful for other type fields in specific situations.

## Conditional formatting

This option helps you customize your data's appearance to optimize your users' efficiency dealing with it.

### Auto

This is only available for `enum` type fields. It sets a **random colored badge** for each separate value.

![](/files/-MHX4oZ7JA7C7eZhsyaU)

This is a possible outcome:

![](/files/-MHX5DJj2CpWQ-B04bc4)

### Custom

The "Custom" setup allows you to set **conditional rules** to control how your data is displayed.

#### Add a rule

To add a new rule, click "+ Add a rule" at the bottom. Next, you need to define your condition. Note that condition operators depend on the selected field type.

{% hint style="warning" %}
If 2 conditions are satisfied, only the top one will be applied.
{% endhint %}

![](/files/-MHX0blwOpFVmd1meyO8)

It's then up to you to customize how you want the data to be displayed. Change the color by clicking on the colored square. Use the *Sample* for a quick peak at what the outcome will be.

#### Add a default rule

You may also add a default rule, which will apply if no other condition is met:

![](/files/-MHX0n6BrINQPW9WiiI_)


---

# 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/customize-your-fields/options.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.
