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

    • Type: Improvement
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.4, 2.4.1
    • Fix Version/s: STABLE backlog
    • Component/s: Questions
    • Labels:

      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              ppichet Pierre Pichet
              Peer reviewer:
              Tim Hunt
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: