Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64769

User profile fields are not always visible at signup page

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_36_STABLE

      Description

      Defining new user profile field there are several options:

      • Is this field required? YES/NO
      • Is this field locked? YES/NO
      • Should the data be unique? YES/NO
      • Display on signup page? YES/NO
      • Who is this field visible to? NOT VISIBLE/VISIBLE TO USER/VISIBLE TO EVERYONE

      If you set visibility to Not visible (for private data only viewable by administrators), field is not visible on signup page even if visibility on it is on YES.

       

      What do you think about this behavior?
      I think that this is a bug. Administrators may want to ask user for some data on signup page, but not display them in user profile if user can not change them (e.g. identification number). This data are still visible for administrators.

      If you think that this is not a bug maybe force Display on signup page? NO in the new user profile field form.

       

      How to reproduce?

      1. ADMIN: Add new user profile field:  Site administration -> Users -> Accounts -> User profile fields; required options:
        • Display on signup page? YES
        • Who is this field visible to? Not visible
      2. ADMIN: Turn on E-mail based self registration on Site administration Plugins Authentication Manage authentication
      3. LOG OUT: At the front page click Log in -> Create new account
        • Profile field at signup page is not visible
      4. ADMIN: Site administration -> Users -> Accounts -> User profile fields
        • CHANGE: Who is this field visible to? Visible to user/Visible to everyone
      5. LOG OUT: At the front page click Log in
        • Profile field at signup page is visible

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lukasz Łukasz Szeremeta
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: