I add field to register page olive version by plugin
hooks.Filters.ENV_PATCHES.add_item(
(
"mfe-lms-production-settings",
"""
ENABLE_DYNAMIC_REGISTRATION_FIELDS = "true"
MFE_CONFIG["ENABLE_DYNAMIC_REGISTRATION_FIELDS"] = "true"
REGISTRATION_EXTRA_FIELDS["gender"] = "required"
REGISTRATION_EXTRA_FIELDS["year_of_birth"] = "required"
REGISTRATION_EXTRA_FIELDS["city"] = "required"
REGISTRATION_EXTRA_FIELDS["state"] = "required"
REGISTRATION_EXTRA_FIELDS["country"] = "required"
REGISTRATION_EXTRA_FIELDS["title"] = "required"
REGISTRATION_EXTRA_FIELDS["terms_of_service"] = "required"
REGISTRATION_EXTRA_FIELDS["level_of_education"] = "required"
REGISTRATION_EXTRA_FIELDS["mailing_address"] = "required"
REGISTRATION_EXTRA_FIELDS["specialty"] = "required"
"""
)
)