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

Choice module responses limit in numeric only works with javascript enable.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.6, 2.1.3, 2.2
    • Fix Version/s: 2.0.7, 2.1.4, 2.2.1
    • Component/s: Choice
    • Labels:
    • Testing Instructions:
      Hide

      Disable JS
      Create a new Choice, enable the limit and enter non-numeric values in the limit field
      save form - make sure validation rule kicks in and prevents save.

      Show
      Disable JS Create a new Choice, enable the limit and enter non-numeric values in the limit field save form - make sure validation rule kicks in and prevents save.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull Master Branch:
      master_MDL-30536

      Description

      Notice this issue while testing MDL-30526.

      Numeric validation only works with javascript enable.

      With javascript disable, the form can be submitted and set the non-numberic input to 0.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              rwijaya Rossiani Wijaya
              Integrator:
              Sam Hemelryk
              Tester:
              Rossiani Wijaya
              Participants:
              Component watchers:
              Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jan/12