Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extended profile fields not working register view for palm #126

Open
johanseto opened this issue Jan 23, 2024 · 0 comments
Open

extended profile fields not working register view for palm #126

johanseto opened this issue Jan 23, 2024 · 0 comments
Assignees

Comments

@johanseto
Copy link
Collaborator

johanseto commented Jan 23, 2024

Ass I used eox-nelp in palm version. The extended profile fields middleware is not working for the register view.
For the account settings view is working but for the register, not.

nelc/edx-platform#10

I was using this config in the tenant

    "REGISTRATION_EXTRA_FIELDS": {
        "city": "hidden",
        "confirm_email": "hidden",
        "country": "optional",
        "first_name": "required",
        "gender": "optional",
        "goals": "optional",
        "hobby": "optional",
        "honor_code": "required",
        "last_name": "required",
        "level_of_education": "optional",
        "mailing_address": "hidden",
        "movie": "optional",
        "sport": "optional",
        "terms_of_service": "hidden",
        "year_of_birth": "optional"
    },
    "extended_profile_fields": [
        "hobby",
        "sport",
        "movie"
    ],
    "extended_profile_fields_translations": {
        "ar": {
            "hobby": "\u0647\u0648\u0627\u064a\u0629",
            "movie": "\u0641\u064a\u0644\u0645",
            "sport": "\u0631\u064a\u0627\u0636\u0629"
        }
    }

with the middleware

MIDDLEWARE += [
    "eox_nelp.middleware.ExtendedProfileFieldsMiddleware",
]

And as you can see account settings show me the extra fields,
image

But the register view no
image

@johanseto johanseto changed the title extended profile fields not working in palm extended profile fields not working register view for palm Jan 23, 2024
@johanseto johanseto self-assigned this Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant