> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/job/_setfield.md).

# \_setField

Sets a field in a Job.

### Parameters

#### id

The Job ID.

#### fields

Form field to set

### Example

```
FM_api('Job_setFields', ['id'=>'48', 'fields'=>'{"3.4 Key Areas of Identified Risk":"EDITED"}']);
```

#### On Success

```
"{"ok":1}"
```
