Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-8009

Questionnaire Setting "Min. forced responses" in checkbox question type prevent setting max value to zero

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.5
    • Fix Version/s: 3.8.3
    • Component/s: Module: Questionnaire
    • Labels:
      None

      Description

      DESCRIPTION

      Setting "Min. forced responses" in checkbox question type prevent setting max value to zero
      Unable to set "Max. forced responses" to "zero" (unlimited/default) when "Min. forced responses" is set to "one", when using a checkbox question type on the Questionnaire module.

      STEPS TO REPLICATE

      1. Create a Questionnaire activity and then create a checkbox question.

      2. In the Checkbox question settings, For the “Min. forced responses” set it to “1” and for the “Max forced responses” set it to “0” (default).

      3. Finish creating the question and answers and then “save changes”

      4. “edit” the question just created and notice that the “max forced responses” has been changed from “0” to “1” upon saving.

      OBSERVED BEHAVIOR:

      Upon saving changes when providing a “min forced response” number and leaving the “max forced responses” option set to 0 (unlimited/default), the Max forces response is automatically changed to match the Minimum forces responses selection. This is limiting the user to only be able to answer the exact number of selections set, instead of a minimum number of responses with no maximum.

      EXPECTED BEHAVIOR:

      According to the help documentation via the settings, “if only a min or max value is desired, just leave the other value to its default 0 value”. Which in our test scenario above, should force users to at least select a minimum of 1 choice (because that value was set), but have no cap on Maximum choices, because that value was left at the default “0”.

        Attachments

          Activity

            People

            Assignee:
            mchurch Mike Churchward
            Reporter:
            johnhege John Hege
            Participants:
            Component watchers:
            Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/May/20