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

Default value ignored in user profile field (Text input) on signup page

XMLWordPrintable

    • MOODLE_31_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MDL-56323-master
    • Hide

      Steps to reproduce

      1. Create a 'Text input' user profile field. (/user/profile/index.php)
      2. Set 'Display on signup page?' to 'Yes'.
      3. Give the 'Default value' element some text.
      4. Hit 'Save changes'
      5. Logout and navigate to the user signup page (/login/signup.php)

      Expected result
      The created text input element to contain the configured default value.

      Show
      Steps to reproduce Create a 'Text input' user profile field. (/user/profile/index.php) Set 'Display on signup page?' to 'Yes'. Give the 'Default value' element some text. Hit 'Save changes' Logout and navigate to the user signup page (/login/signup.php) Expected result The created text input element to contain the configured default value.

      When you create a text input user profile field and expose it to the user signup form the default value configured is not rendered.

      Steps to reproduce

      1. Create a 'Text input' user profile field. (/user/profile/index.php)
      2. Set 'Display on signup page?' to 'Yes'.
      3. Give the 'Default value' element some text.
      4. Hit 'Save changes'
      5. Logout and navigate to the user signup page (/login/signup.php)

      Expected result
      The created text input element to contain the configured default value.

      Actual result
      The created text input element is empty.

            leec Lee Campbell
            leec Lee Campbell
            Ankit Agarwal Ankit Agarwal
            David Monllaó David Monllaó
            Rajesh Taneja Rajesh Taneja
            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.