# 注册表单能否支持多行/更长的文本字段？

**URL:** <https://meta.discourse.org/t/is-it-possible-to-have-a-multi-line-longer-text-field-in-the-signup-form/257642>\
**Category:** Feature\
**Tags:** completed, user-custom-fields\
**Created:** [2023年三月9日 19:28 UTC](https://meta.discourse.org/t/is-it-possible-to-have-a-multi-line-longer-text-field-in-the-signup-form/257642 "2023-03-09T19:28:35Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![MachineScholar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/machinescholar/32/424719_2.png) [@MachineScholar](https://meta.discourse.org/u/MachineScholar)\
**Post date:** [2025年七月5日 13:50 UTC](https://meta.discourse.org/t/is-it-possible-to-have-a-multi-line-longer-text-field-in-the-signup-form/257642/6 "2025-07-05T13:50:36Z")

</div>

我认为我们应该重新审视一下……这似乎是一个非常受欢迎的要求，并且应该包含在 Discourse 核心功能中。例如，在创建自定义用户字段时，可以有一个切换选项，将其设置为文本字段或文本区域（带有可选的字符限制）。

**🤖 这将允许通过[自定义工具](https://meta.discourse.org/t/ai-bot-custom-tools/314103)为 LLM 提供丰富的可消耗数据，该工具运行一个数据探索器查询**

事实上，仅仅查看 #user-custom-fields 标签就能揭示它们对社区的受欢迎程度和重要性。

> [@Multiline custom user field text box](https://meta.discourse.org/t/multiline-custom-user-field-text-box/372793?u=machinescholar):
>
> How can we make the text box for user custom fields resemble the “About me” text box in profile settings? Or at least how can we make the fields multiline-friendly?

> [@Textarea user field type](https://meta.discourse.org/t/textarea-user-field-type/247289):
>
> I would like to have a user field type that is for long-form text, so users could write paragraphs and have line breaks (and any markdown/HTML) preserved when it is shown in the user’s profile. Could I achieve this myself with limited coding knowledge? I have done a little with Javascript, but I admittedly find backend development intimidating. If this is best achieved through a custom plugin in the marketplace, what kind of budget should I expect to have?

我甚至愿意付费让 Discourse 将此功能添加到核心功能中 💰😂

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-have-a-multi-line-longer-text-field-in-the-signup-form/257642)._
