Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3435

Handle required custom fields in signup

XMLWordPrintable

    • Hide

      This issue only needs to be tested in 1 device.

      1. In web as admin, enable Email signup in a site.
      2. Install the plugin attached to this issue.
      3. Go to "Site administration > Users > User profile fields".
      4. Create a new profile field of type "Supertext input". Make sure to select Yes in "Is this field required?" and "Display on signup page?".
      5. In the app, click to add a new site and enter the URL of the site.
      6. In the credentials page, click "Create new account". Check that you see a message saying that you need to signup in browser.
      7. Click the "Open in browser" button. Check that the signup page is opened in browser.
      8. In web as admin, edit the profile field and set "Is this field required?" to No.
      9. In the app, go back and then click the "Create new account" button again. Check that now you see the signup form.
      10. Fill the form and send it. Check that you don't see any error message.
      Show
      This issue only needs to be tested in 1 device. In web as admin, enable Email signup in a site. Install the plugin attached to this issue. Go to "Site administration > Users > User profile fields". Create a new profile field of type "Supertext input". Make sure to select Yes in "Is this field required?" and "Display on signup page?". In the app, click to add a new site and enter the URL of the site. In the credentials page, click "Create new account". Check that you see a message saying that you need to signup in browser. Click the "Open in browser" button. Check that the signup page is opened in browser. In web as admin, edit the profile field and set "Is this field required?" to No . In the app, go back and then click the "Create new account" button again. Check that now you see the signup form. Fill the form and send it. Check that you don't see any error message.
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.3

      As reported in the forum, when a required profile field is defined with a custom plugin it will break the signup.

      There is no way to work around it, but the current implementation returns an "Invalid parameter value detected" error that is not explanatory. We could handle this situation and show a message saying which fields are the problem.

      We could also disable the signup form altogether to prevent users from filling it in vain.

            dpalou Dani Palou
            noeldemartin Noel De Martin
            Noel De Martin Noel De Martin
            Juan Leyva Juan Leyva
            Noel De Martin Noel De Martin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.