Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5390

Generate default field name when adding a new field.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.7.3, 2.8
    • Component/s: Set: Dataform
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE

      Description

      A new field instance requires at least a unique name. Opening the field definition form for a new instance can already generate a default name for the new instance.
      The common lowest denominator for such a name is the field type that typically contains only lowercase letters.
      If the name is already in use, the generator will try to suffix it with a serial number, until an unused name is found.

        Attachments

          Activity

            People

            • Assignee:
              itamart Itamar Tzadok
              Reporter:
              itamart Itamar Tzadok
              Tester:
              Itamar Tzadok
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14