# 如果字段是必填但不可编辑，用户将无法保存个人资料

**URL:** https://meta.discourse.org/t/users-unable-to-save-profile-if-field-mandatory-but-not-editable/216534
**Category:** Bug
**Created:** [2022年一月31日 09:23 UTC](https://meta.discourse.org/t/users-unable-to-save-profile-if-field-mandatory-but-not-editable/216534 "2022-01-31T09:23:55Z")
**Posts on this page:** 1
**Page:** 1

<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: [2022年一月31日 09:23 UTC](https://meta.discourse.org/t/users-unable-to-save-profile-if-field-mandatory-but-not-editable/216534/1 "2022-01-31T09:23:55Z")

</div>

当用户自定义字段设置为：

1. **注册后可编辑** = `false`
2. **注册时必填** = `true`

任何在字段被设为必填 _之前_ 注册的用户都无法保存其个人资料。

我不确定在字段不可见时要求填写该字段是否有意义！必填似乎也适用于填写个人资料时。这没问题，除非它无法访问。

### 简单的解决方法

显然，将该字段设置为 **注册后可编辑** = `true`。但我真的不希望在人们加入后（在我们的论坛中，这是“你为什么想加入？”）看到它。
