Making a user field not editable when ‘for all users’ is selected

Hello

Is there a way to make a User Field not editable after signup when the Field Requirement is set to “For all users”?

Thanks

I don’t think so. The checkbox cannot be unchecked.
You can use the ‘On signup’ instead, but existing users won’t be affected.

4 Likes

Thanks for your response @NateDhaliwal. I wonder what was the rational behind the current design decision. There are many usecases where one wants User Fields to be un-editable and set to For all users.

I’m not sure about what you’re asking, but if you’re thinking of modifying Discourse’s code to prevent user fields from being editable, it would require a plugin, and chatGPT is very, very bad at creating Discourse plugins. I would not rely on what chatGPT outputs.

I think it has to be editable so the users who have already signed up before you implement it can fill it in?

Are you thinking of a use case along the lines of ‘not editable once entered’?