> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# field

[localhost link]: http://localhost:3000/docs/5/app-studio/reference/filters/lightning.filter.field

[mintlify link]: https://doc.lucidworks.com/docs/5/app-studio/reference/filters/lightning.filter.field

[old doc.lw link]: https://doc.lucidworks.com/app-studio/4.2/1016.md

> [card] Key questions to get you started
>
> Powered by Lucidworks Agent Studio

## Description

Returns a result from the response

## Usage

### In HTML Template Binding

```html theme={"dark"}
{{ field_expression | field[:field] }}
```

### In JavaScript

```js wrap  theme={"dark"}
$filter('field')(result[, field])
```

#### Parameters

| Param | Type | Details |
| - | - | - |
| result | string | The result object to get the field from. |
| field *(optional)* | number | The name of the field to retrieve |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.