# Custom Fields for Groups?

**URL:** https://meta.discourse.org/t/custom-fields-for-groups/153580
**Category:** Development
**Tags:** groups
**Created:** [2 juni 2020 om 14:25 UTC](https://meta.discourse.org/t/custom-fields-for-groups/153580 "2020-06-02T14:25:35Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [6 augustus 2022 om 14:03 UTC](https://meta.discourse.org/t/custom-fields-for-groups/153580/6 "2022-08-06T14:03:13Z")

</div>

To add custom fields to models (topics, categories, groups), the following topic from @angus really lays it out as well as you’re likely to find:

> [@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)

He has put together some sample code specific to topics and categories - I believe the code translates generally well for adding custom fields to groups as well.

This post from me on that topic lays out how I’ve used the resource that Angus has put together:

> [@How to add custom fields to models](https://meta.discourse.org/t/how-to-add-custom-fields-to-models/184485/7):
>
> That is fantastic, @angus. Thank you very much. A video is always nice–I’m all for making things as straightforward as possible, but I don’t think it’s required to get the key value from these resources that @angus has put together. These resources give the code that you need to accomplish the specific goal the resource is about (having a working topic custom field or a category custom field). A video would probably just be @angus or someone else talking through how to implement the resource,…

---

_[View the full topic](https://meta.discourse.org/t/custom-fields-for-groups/153580)._
