> For the complete documentation index, see [llms.txt](https://docs.acpt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acpt.io/forms/examples-of-form-usage/modify-an-existing-term.md).

# Modify an existing term

Create a new form and set `Post Management` as action.

You can select the term to be modified in two ways.

### Select the term from the new form modal

Pick up the desired taxonomy and select the Term to edit, like in this example:

<figure><img src="https://3235524095-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fiyf0tSKPgXiyoQ3zV3I6%2Fuploads%2Fgit-blob-7b9da97cfd55997c516bd808cd7afa299da6bdb9%2FForms-list-%E2%80%B9-Localhost-%E2%80%94-WordPress-11-14-2024_12_45_PM.png?alt=media" alt=""><figcaption></figcaption></figure>

### Injecting tid in the shortcode

Add tid to the shortcode:

```php
[acpt_form id="e45b2639" tid="123"] // where 123 is the ID of the term  
```

This particular syntax can also be used in combination with `get_queried_object()` function:

```php
$termId = get_queried_object()->term_id;
echo do_shortcode('[acpt_form id="e45b2639" tid="'.$termId.'"] ');

```

{% hint style="danger" %}
Be careful, if the term ID is wrong, the form will not be displayed.
{% endhint %}
