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

order of firstname and lastname in filling forms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.9
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      All
    • Database:
      Any
    • Affected Branches:
      MOODLE_15_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Whatever the value of fullnamedisplay is, input areas of user's firstname and lastname are ordered as this order. Japanese users (maybe also other Asian users) often make mistakes in inputting their names. I proposed it should be changable according to fullnamedisplay like this:

      <?php

      $nameordercheck->firstname = a;

      $nameordercheck->lastname = b;

      if ( fullname($nameordercheck) == b a )

      { ?> ... lastname input proc. .... ... firstname input proc. .... <?php }

      else

      { ?> ... firstname input proc. .... ... lastname input proc. .... <?php }

      ?>

      This modification should be added to login/signup_form.html and user/edit.html.

      A complete patch for this is :

      http://t-kita.net/rpm/moodle/patches/nameinputorder1.patch

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dougiamas Martin Dougiamas
              Reporter:
              imported Imported
              Tester:
              Helen Foster
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08