# Hoe kan ik aangepaste velden toevoegen aan de composer?

**URL:** https://meta.discourse.org/t/how-can-i-add-custom-fields-to-the-composer/332141
**Category:** Development
**Created:** [22 oktober 2024 om 12:21 UTC](https://meta.discourse.org/t/how-can-i-add-custom-fields-to-the-composer/332141 "2024-10-22T12:21:49Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![willie](https://avatars.discourse-cdn.com/v4/letter/w/838e76/32.png) [@willie](https://meta.discourse.org/u/willie)
#### Post date: [22 oktober 2024 om 12:21 UTC](https://meta.discourse.org/t/how-can-i-add-custom-fields-to-the-composer/332141/1 "2024-10-22T12:21:49Z")

</div>

Does anyone know how I can put customer fields for different types of topics, for example in a selected category? Here is an example:

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/c/7/dc77b4ef1f9f0a3a10a5c85b023a79e85c4f82fc.jpeg)

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [22 oktober 2024 om 17:28 UTC](https://meta.discourse.org/t/how-can-i-add-custom-fields-to-the-composer/332141/2 "2024-10-22T17:28:15Z")

</div>

Hello 👋

Form Templates can help to achieve it.

> [@Introducing Form Templates](https://meta.discourse.org/t/introducing-experimental-form-templates/278631):
>
> star This feature is no longer experimental! Go here to learn more about the feature and how to use it in your community: [Creating form templates](https://meta.discourse.org/t/creating-form-templates/397564) Hello, Discourse Meta Community! We are excited to introduce a new experimental feature, form templates. With it, you can enforce a structured form with data validation as part of the topic creation flow. [multiple\_form\_templates] Enabling the feature The feature is hidden behind a site-wide experimental flag. To enable it, just turn on the exp…

---

<div class="post-metadata">

### Author: ![willie](https://avatars.discourse-cdn.com/v4/letter/w/838e76/32.png) [@willie](https://meta.discourse.org/u/willie)
#### Post date: [23 oktober 2024 om 14:29 UTC](https://meta.discourse.org/t/how-can-i-add-custom-fields-to-the-composer/332141/3 "2024-10-23T14:29:50Z")

</div>

Thanks for the response.

How can I active the categories?

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/d/d/4dda71c9e5f0057830b2ff379c5e2d5e5899b12f.jpeg)

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [23 oktober 2024 om 14:34 UTC](https://meta.discourse.org/t/how-can-i-add-custom-fields-to-the-composer/332141/4 "2024-10-23T14:34:50Z")

</div>

You can do this in category setting.  
`/c/category-slug/edit/topic-template`

> [@Introducing Form Templates](https://meta.discourse.org/t/introducing-form-templates/278631/1):
>
> ## Applying a template to a category
> 
> Once you’ve created a form template, you’ll want to apply it to a category. To do this, head to the settings of the category you would like to apply the template to.
> 
> Select the Template menu, and then on the right, use the switch to turn on form templates. Once it has been enabled, you can use the dropdown to add one/more templates to a category.
> 
> ![Selecting multiple templates](https://global.discourse-cdn.com/meta/original/4X/3/d/b/3db69a63c1bfb12a20618741ada483dc29ce8d6b.png)

---

<div class="post-metadata">

### Author: ![willie](https://avatars.discourse-cdn.com/v4/letter/w/838e76/32.png) [@willie](https://meta.discourse.org/u/willie)
#### Post date: [26 oktober 2024 om 02:26 UTC](https://meta.discourse.org/t/how-can-i-add-custom-fields-to-the-composer/332141/5 "2024-10-26T02:26:28Z")

</div>

It doesn’t look the same! I would like it to look exactly the same. Is there any way to do this?

 ![IMG_7525](https://global.discourse-cdn.com/meta/original/4X/1/3/6/136e03857877e488d47b4597ee6d41b235794728.jpeg)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [28 oktober 2024 om 16:22 UTC](https://meta.discourse.org/t/how-can-i-add-custom-fields-to-the-composer/332141/6 "2024-10-28T16:22:31Z")

</div>

My colleague at Pavilion wrote this very useful Topic:

> [@How to add custom fields to models](https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485):
>
> This is a collection of education plugins that demonstrate how to add a custom field to different models in Discourse. They are intended as learning tools for those looking to learn how to build discourse plugins. [[GitHub-Mark] How to add a custom field to a topic](https://github.com/pavilionedu/discourse-topic-custom-fields)[[GitHub-Mark] How to add a custom field to a category](https://github.com/pavilionedu/discourse-category-custom-fields)Who they’re for These plugins are for people looking to learn more about creating Discourse plugins. Before you start working with these plugins, you should complete the [beginner…](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins/30515)

If that’s beyond you consider hiring a freelancer #Marketplace
