# Tutor plugin for more profile information with optional fields

**URL:** https://discuss.openedx.org/t/tutor-plugin-for-more-profile-information-with-optional-fields/11779
**Category:** Development
**Tags:** how-to, tutor
**Created:** [November 23, 2023, 5:59pm UTC](https://discuss.openedx.org/t/tutor-plugin-for-more-profile-information-with-optional-fields/11779 "2023-11-23T17:59:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![suigh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/suigh/32/1728_2.png) [@suigh](https://discuss.openedx.org/u/suigh)
#### Post date: [November 23, 2023, 5:59pm UTC](https://discuss.openedx.org/t/tutor-plugin-for-more-profile-information-with-optional-fields/11779/1 "2023-11-23T17:59:30Z")

</div>

Hello,  
im working in a tutor plugin that creates a model with some informations, it works well, but the optional flag in my\_plugin.yml seems not working.  
here is my file

```auto
name: apice_registration version: 0.2.0 patches: openedx-common-settings: | INSTALLED_APPS.append('apice_registration') lms-env: | "ENABLE_COMBINED_LOGIN_REGISTRATION": true, "REGISTRATION_EXTENSION_FORM": "apice_registration.forms.ExtendedProfileForm", "REGISTRATION_EXTRA_FIELDS": { "city": "hidden", "confirm_email": "hidden", "country": "hidden", "gender": "hidden", "goals": "hidden", "honor_code": "hidden", "level_of_education": "hidden", "mailing_address": "hidden", "terms_of_service": "required", "year_of_birth": "hidden", "birthyear": "required", "current_country": "required", "current_state": "required", "current_city": "required", "role": "optional", "role_other": "optional", "educational_stage": "optional", "institution_state": "optional", "institution_city": "optional", "institution_other": "optional", "institution_type": "optional" }, "REGISTRATION_FIELD_ORDER": ["name", "username", "email", "password", "birthyear", "current_country", "current_state", "current_city", "role", "role_other", "educational_stage", "institution_state", "institution_city", "institution_other", "institution_type", "terms_of_service"] cms-env: | "ENABLE_COMBINED_LOGIN_REGISTRATION": true 

```

thanks

---

<div class="post-metadata">

### Author: ![jramnai](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/jramnai/32/87_2.png) [@jramnai](https://discuss.openedx.org/u/jramnai)
#### Post date: [November 24, 2023, 5:45am UTC](https://discuss.openedx.org/t/tutor-plugin-for-more-profile-information-with-optional-fields/11779/2 "2023-11-24T05:45:49Z")

</div>

Hello @suigh, welcome back!

I’m not well versed with tutor plugins but you can set the same settings inside your Open edX Django plugin, `apice_registration`.

You can refer to the following example to set settings,

- [https://github.com/openedx/edx-platform/blob/open-release/palm.master/openedx/core/djangoapps/bookmarks/settings/production.py](https://github.com/openedx/edx-platform/blob/open-release/palm.master/openedx/core/djangoapps/bookmarks/settings/production.py)
- [https://github.com/openedx/edx-platform/blob/open-release/palm.master/openedx/core/djangoapps/bookmarks/apps.py#L28-L33](https://github.com/openedx/edx-platform/blob/open-release/palm.master/openedx/core/djangoapps/bookmarks/apps.py#L28-L33)

Once your Open edX Django plugin is installed and working verify your settings from LMS Django shell. You can refer to [this](https://jramnai.hashnode.dev/how-to-check-the-value-of-your-settings-in-open-edx) post.

---

<div class="post-metadata">

### Author: ![suigh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/suigh/32/1728_2.png) [@suigh](https://discuss.openedx.org/u/suigh)
#### Post date: [November 24, 2023, 2:01pm UTC](https://discuss.openedx.org/t/tutor-plugin-for-more-profile-information-with-optional-fields/11779/3 "2023-11-24T14:01:49Z")

</div>

thanks for your reply, jramnai!  
i follow your post and the settings in my apice\_registration.yml, by the way, any settings of my tutor plugins are not appearing in settings.FEATURES =/

i will continue looking for the file that holds this settings of tutor plugins

---

<div class="post-metadata">

### Author: ![suigh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/suigh/32/1728_2.png) [@suigh](https://discuss.openedx.org/u/suigh)
#### Post date: [November 24, 2023, 2:21pm UTC](https://discuss.openedx.org/t/tutor-plugin-for-more-profile-information-with-optional-fields/11779/4 "2023-11-24T14:21:42Z")

</div>

i found the settings in `settings.REGISTRATION_EXTRA_FIELDS`

in fact the settings is going to openedx, but there is other config that override my `apice_registration.yml` and put the flag required in my fields
