Computed Fields

On the Left Sidebar, there's a specific Tab for computed fields. There you'll be able to create and manage them. With this brief explanation and linked docs, you'll soon see yourself as a Computed Field expert!

What is a Computed Field?

It's 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.

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