# 能否为主题添加新字段？

**URL:** https://meta.discourse.org/t/can-i-add-new-fields-to-a-topic/144474
**Category:** Support
**Created:** [2020年三月16日 14:01 UTC](https://meta.discourse.org/t/can-i-add-new-fields-to-a-topic/144474 "2020-03-16T14:01:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RockHopper](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@RockHopper](https://meta.discourse.org/u/RockHopper)
#### Post date: [2020年三月16日 14:01 UTC](https://meta.discourse.org/t/can-i-add-new-fields-to-a-topic/144474/1 "2020-03-16T14:01:41Z")

</div>

我希望在用户发起话题时，提供两个额外的可填写字段：

1. 地理IP国家（由系统自动填充，但允许用户覆盖）
2. 用户填写内容的语言

我可以通过标签实现大部分功能，但我希望强制要求用户始终添加这两个标签。

---

<div class="post-metadata">

### Author: ![TheLOLxd2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thelolxd2/32/161563_2.png) [@TheLOLxd2](https://meta.discourse.org/u/TheLOLxd2)
#### Post date: [2020年四月1日 17:32 UTC](https://meta.discourse.org/t/can-i-add-new-fields-to-a-topic/144474/2 "2020-04-01T17:32:59Z")

</div>

你好，

请查看 [主题模板](https://meta.discourse.org/t/what-are-topic-templates/38295)。我不确定它是否能自动插入 GeoIP 和国家值，但答案似乎是：

> [@Topic Templates](https://meta.discourse.org/t/topic-templates/18282/31):
>
> No – that is wildly out of scope for what we are trying to do with basic templates.

你或许可以创建一个自定义机器人来自动回复这些内容。我不太确定。

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2024年四月17日 15:32 UTC](https://meta.discourse.org/t/can-i-add-new-fields-to-a-topic/144474/3 "2024-04-17T15:32:20Z")

</div>


