> For the complete documentation index, see [llms.txt](https://gebra-it.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gebra-it.gitbook.io/wiki/client-api-reference/functions/switchtagcontrol.md).

# switchTagControl

## Parameters

1. controlId - String with the control id.
2. editMode - Optional boolean to determine if the control should be in edit mode or not. If not stated, the control will switch to it's other mode.

## Example Usages

```javascript
app.switchTagControl("fieldId");
```

```javascript
app.switchTagControl("fieldId", true);
```

### Return Values

Function does not explicitly produce return value.
