User Field Prompt

:discourse2: Summary User Field Prompt allows you to show a user field form in any Discourse post.
:eyeglasses: Preview Preview on Discourse Theme Creator
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-user-field-prompt
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

Features

User Field Prompt allows you to show a user field 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]


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

Last edited by @david 2025-08-28T10:28:45Z

Check documentPerform check on document:
31 Likes

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

1 Like

Hi, has anyone successfully used this ?

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.

1 Like

Thanks for the report. This should be fixed now: FIX: Rendering strategy (#34) Ā· discourse/discourse-user-field-prompt@c468800 Ā· GitHub

1 Like