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

More flexible and explicit handling of numerical subquestions in edit_multianswer_form.php

    XMLWordPrintable

Details

    • Improvement
    • Status: Development in progress
    • Minor
    • Resolution: Unresolved
    • 2.3.4, 2.4.1
    • STABLE backlog
    • Questions

    Description

      The user needs to fill the typical numerical

      {1:NUMERICAL:~%100%1000.1:0}

      using strict numerical format without any units and without any space between the number and the tolerance.

      {1:NUMERICAL:~%100%1000.1 :0}

      will give the diagnosis

      Answer: The answer must be a number, for example -1.234 or 3e8, or '*'.

      The code should allow space and give more explicit info about either numerical format error or that units are not allowed in numerical answer inside multianswer.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ppichet Pierre Pichet
              Tim Hunt Tim Hunt
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: