# User Field Prompt

**URL:** https://meta.discourse.org/t/user-field-prompt/185214
**Category:** Theme component
**Tags:** official, user-field-prompt
**Created:** [April 2, 2021, 6:46am UTC](https://meta.discourse.org/t/user-field-prompt/185214 "2021-04-02T06:46:53Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [April 2, 2021, 6:46am UTC](https://meta.discourse.org/t/user-field-prompt/185214/1 "2021-04-02T06:46:53Z")

</div>

| | | |
| --- | --- | --- |
| :discourse2: | **Summary** | **User Field Prompt** allows you to show a [user field](https://meta.discourse.org/t/how-to-create-and-configure-custom-user-fields/113192) form in any Discourse post. |
| 👓 | **Preview** | [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/user-field-prompt) |
| 🛠 | **Repository Link** | [https://github.com/discourse/discourse-user-field-prompt](https://github.com/discourse/discourse-user-field-prompt) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

> [@](#):
>
> :discourse2: As this is an #official theme component maintained by the Discourse team, #Support, #Contribute > Bug, #Contribute > UX, and #Contribute > Feature requests can be made in the respective categories here on Meta, and tagged with the appropriate theme component tag. Click on a link below to get one started. 👍
> 
> [❓&nbsp; **Support**](https://meta.discourse.org/new-topic?category_id=6&tags=user-field-prompt "Ask for support on configuring and using User Field Prompt") [🐛&nbsp; **Bug**](https://meta.discourse.org/new-topic?category_id=1&tags=user-field-prompt "A bug report means something is broken, preventing normal/typical use of the theme component") [👀&nbsp; **UX**](https://meta.discourse.org/new-topic?category_id=9&tags=user-field-prompt "Discussion about the user interface of User Field Prompt, and how features are presented (including language and UI elements)") [💡&nbsp; **Feature**](https://meta.discourse.org/new-topic?category_id=2&tags=user-field-prompt "Discussion about how existing User Field Prompt features can be improved or enhanced, and how proposed new features could work")

### Features

**User Field Prompt** allows you to show a [user field](https://meta.discourse.org/t/how-to-create-and-configure-custom-user-fields/113192) form in any Discourse post. Changes made in the form will be saved in the current user profile. It’s useful to ask users to make changes to a user field without having to force them to search the field in their profile.

Usage for a user field named `age` and another one named `best fruits`:

`[wrap=user-field names="age,best fruits"][/wrap]`

 ![Capture d’écran 2021-04-02 à 08.44.32](https://global.discourse-cdn.com/meta/original/3X/f/8/f8b74668e982bd87e2cf82c011a1eb017c3cc998.png)

  

> :discourse2: **Hosted by us?** Theme components are available to use on our Pro, Business, and Enterprise plans.

> Last edited by @Moin 2026-04-22T17:18:25Z
> 
> > **Check document**
> >
> > Perform check on document:

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [August 21, 2025, 1:17am UTC](https://meta.discourse.org/t/user-field-prompt/185214/13 "2025-08-21T01:17:02Z")

</div>

Hi, does not work for me, it displays a blank field and an error when saving the post.

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [August 28, 2025, 1:10am UTC](https://meta.discourse.org/t/user-field-prompt/185214/14 "2025-08-28T01:10:11Z")

</div>

Hi, has anyone successfully used this ?

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [August 28, 2025, 9:25am UTC](https://meta.discourse.org/t/user-field-prompt/185214/15 "2025-08-28T09:25:17Z")

</div>

hi @patrickemin  
I can confirm this is currently not working. I’ve tagged in the relevant people, so hopefully there will be a fix soon.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [August 28, 2025, 10:28am UTC](https://meta.discourse.org/t/user-field-prompt/185214/16 "2025-08-28T10:28:37Z")

</div>

Thanks for the report. This should be fixed now: [FIX: Rendering strategy (#34) · discourse/discourse-user-field-prompt@c468800 · GitHub](https://github.com/discourse/discourse-user-field-prompt/commit/c468800ed81f1273e9c976b5a3fbbb6c67f00aef)

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [September 3, 2025, 10:19pm UTC](https://meta.discourse.org/t/user-field-prompt/185214/17 "2025-09-03T22:19:21Z")

</div>

Hi, I tested again and it’s still not working: no error displayed but the post is blank.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [September 4, 2025, 8:37am UTC](https://meta.discourse.org/t/user-field-prompt/185214/18 "2025-09-04T08:37:08Z")

</div>

Any chance you can share a link to an example broken post on your forum? (in PM is fine if you prefer not to share here)

The [preview of the theme on theme-creator](https://discourse.theme-creator.io/theme/Discourse/user-field-prompt) is working for me (as long as you’re logged in)

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [September 4, 2025, 2:42pm UTC](https://meta.discourse.org/t/user-field-prompt/185214/19 "2025-09-04T14:42:01Z")

</div>

Yes here you are: [https://dessein-tech.com/t/user-field-prompt-test/8404](https://dessein-tech.com/t/user-field-prompt-test/8404)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [September 4, 2025, 3:22pm UTC](https://meta.discourse.org/t/user-field-prompt/185214/20 "2025-09-04T15:22:56Z")

</div>

Are you sure the user-field-prompt theme component is installed and enabled? I don’t see its code in the dev tools 🤔

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [September 4, 2025, 3:41pm UTC](https://meta.discourse.org/t/user-field-prompt/185214/21 "2025-09-04T15:41:27Z")

</div>

My bad the TC was deactivated, it’s now active, I created a new topic: [https://dessein-tech.com/t/user-field-prompt-test-2/8406](https://dessein-tech.com/t/user-field-prompt-test-2/8406) the frame around the field appears but is not editable. On top of that, the delete button and edit button for that topic do not work (there a delay of 30 seconds before the topic is actually deleted or can be edited). The wrench icon does not react too. This happens in Preview mode too.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [September 4, 2025, 4:05pm UTC](https://meta.discourse.org/t/user-field-prompt/185214/22 "2025-09-04T16:05:43Z")

</div>

I think the problem is that your site is running a legacy version of the post-stream, because `discourse-nationalflags` has not yet been updated for the new post stream. As an admin, you should be seeing a red banner about that issue.

The recent fixes for user-field-prompt were built only with the new post-stream in mind, so that’s why it’s causing errors on your site.

So if you need this user-field feature right now, I’d recommend disabling the nationalflags plugin. Otherwise, you’ll need to wait for the developer of that plugin to make the necessary updates.

x-ref:

- [National Flags - #141 by mcdanlj](https://meta.discourse.org/t/national-flags/55969/141)
- [Upcoming post stream changes - How to prepare themes and plugins](https://meta.discourse.org/t/upcoming-post-stream-changes-how-to-prepare-themes-and-plugins/372063)

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [September 4, 2025, 4:08pm UTC](https://meta.discourse.org/t/user-field-prompt/185214/23 "2025-09-04T16:08:15Z")

</div>

Thank you for your analysis 🙂 . I’ll wait for the nationalflags update.

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [October 1, 2025, 12:00am UTC](https://meta.discourse.org/t/user-field-prompt/185214/24 "2025-10-01T00:00:05Z")

</div>

Hi, the [national](https://meta.discourse.org/t/national-flags/55969/147) flags plugin has been updated and the TC User Field now works !

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [April 12, 2026, 5:24pm UTC](https://meta.discourse.org/t/user-field-prompt/185214/25 "2026-04-12T17:24:46Z")

</div>

Maybe the screenshot in the first post could be updated so it’s less unexpected that the title and description are shown below the field.

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/1/a/d1a0cbea23a890b7b9add2667c5f831b0033946c.png)

It no longer looks like it does in the preferences.

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/b/9/4b91907ec3e0d0393839cf47875116654ee96ef2.png)

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [April 12, 2026, 10:59pm UTC](https://meta.discourse.org/t/user-field-prompt/185214/26 "2026-04-12T22:59:14Z")

</div>

Would be nice to have them consistent, and this is a minor change.

How tricky is a modification to bring them into alignment?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [April 23, 2026, 6:56am UTC](https://meta.discourse.org/t/user-field-prompt/185214/27 "2026-04-23T06:56:16Z")

</div>

We are going to have a better solution than this theme component in the coming weeks, so Im not going to spend time on this sorry.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [April 23, 2026, 10:31am UTC](https://meta.discourse.org/t/user-field-prompt/185214/28 "2026-04-23T10:31:59Z")

</div>

> [@j.jaffeux](#):
>
> We are going to have a better solution than this theme component in the coming weeks

Is this something like user fields in TCs 👀 ?

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [September 13, 2026, 4:29pm UTC](https://meta.discourse.org/t/user-field-prompt/185214/29 "2026-09-13T16:29:03Z")

</div>

> [@j.jaffeux](#):
>
> We are going to have a better solution than this theme component in the coming weeks, so Im not going to spend time on this sorry.

I wonder if it is still on the plans 🙂

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [September 14, 2026, 2:53am UTC](https://meta.discourse.org/t/user-field-prompt/185214/30 "2026-09-14T02:53:48Z")

</div>

Thanks for bringing this up! Seems like [nothing new](https://meta.discourse.org/filter?q=created-after%3A152%20category%3Aannouncements%2Ctheme-component%2Cplugin) since then. I know there has been talk about wanting to have custom user fields in TCs before, but nothing yet unfortunately.
