> 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/_setformnum.md).

# \_setFormNum

Sets the form number

### Parameters

#### id

The id of the Job.

#### value

New value

#### Example

```
FM_api('Job_setFormNum', ['id'=>'7','value'=>'10']);
```

#### On Success

```
{'ok':1};
```

#### On Error (No id)

```
{"error":"appointment does not exist"}
```

#### On Error (No value)

```
{"error":"no value provided"}	
```
