> For the complete documentation index, see [llms.txt](https://salsa-digital.gitbook.io/govcms-site-builder/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://salsa-digital.gitbook.io/govcms-site-builder/unit-4-taxonomy-categorising-content/taxonomy-categorising-content/exercise-4-2-add-taxonomy-field-to-content-types.md).

# Exercise 4.2: Add Taxonomy field to content types

Use your experience from the previous exercises to add the State/Territory field to the Job Posting content type.

{% hint style="success" %}
**Hint** - use Entity Reference for the field type or Select lsit if you prefer a dropdown. Follow the screenshots below if needed to configure the field correctly for the *Job posting* content type
{% endhint %}

![Image of Add field](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-f93e071a08c2875bb075b429f48b0c51ee7f0689%2FEx-4-2-Job-State-1.png?alt=media)

![Image of Select Taxonomy term](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-2151d481760d836a282a2c9b3f199353fbbabf83%2FEx-4-2-Add-Taxonomy-2.png?alt=media)

![Image of Type of term to reference](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-6117778cc1d5cda8026b58c19ac82c8fc9ccdd60%2FEx-4-2-Add-Taxonomy-3.png?alt=media)

In the **Manage form display** of your Job content type, you can set **Select list** as the field widget type as shown below.

<figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2F6jQogmqdMhjJkO77Wvpe%2Fimage.png?alt=media&amp;token=88bb8c45-069f-4533-b0a9-63dcf522250e" alt=""><figcaption><p>Showing Select list field widget for State</p></figcaption></figure>

When creating you Job content, the state field will look similar to the following screenshot.

<figure><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2FmivO6wtrvdJqYcjPq7kN%2Fimage.png?alt=media&amp;token=e57e9857-ffab-4f84-bfb6-1617946c9ba3" alt=""><figcaption><p>Showing the State field on the job creation page</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://salsa-digital.gitbook.io/govcms-site-builder/unit-4-taxonomy-categorising-content/taxonomy-categorising-content/exercise-4-2-add-taxonomy-field-to-content-types.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
