# Computed Fields

{% hint style="info" %}
A "**Computed Field**" is a component that executes custom **Javascript code**. You can select other components as parameters/arguments for your functions. The code will run when those components' value changes.
{% endhint %}

## Some Examples

* Concatenating `first_name` and `last_name`, then returning `full_name`
* Returning a different price ID for a stripe component depending on the user's selection/s
* Fetching data from/to an API
* Returning an array of objects for a repeatable buttons component

### Related docs:

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table>
