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

Enter key response to the first submit button on the form

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.6
    • Fix Version/s: None
    • Component/s: Forms Library
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      When you type enter on a moodle form , there is an automatic submit that use the first submit button find on the form i.e. the blanks for more choice.
      This is general to moodle form.
      Do you know how to stop this default handling .
      Comment from Tim (MDL-20296)
      Pierre. That is a bug. (And one that annoys me.) We should either disable enter, or make it use the first real submit button. Anyway, this is a formslib bug. Not sure if there is a tracker issue for it or not..
      Does not seem to be, so creating this one.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: