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

Database "Save and add another' button doesn't refresh to null

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.0
    • None
    • MOODLE_30_STABLE

    Description

      When clicking on the 'Save and add another' button to add entries into the database, all previous fields are not refreshing to null. Look like nothing happened. Users tend to click the 'Save and add another button again, and end up with many same entries.

      To recreate:
      1) Create a Database Activity
      2) Add one or more fields
      3) Select Add Entry tab
      4) Fill in the first entry
      5) Select 'Save and add another'
      6) All fields are pre filled with the previous content.
      7) Force refresh the page won't clear all existing content.

      Work around:
      Warn users never click on this button, use 'Save and view' button only. Then click on the 'Add entry' tab to add another one.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wenxin Wenxin Lu
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: