Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44774

Samigo > edit > audio question > provide custom validation message for time allowed

    XMLWordPrintable

    Details

    • 21 Status:
      Verified
    • 20 status:
      Verified
    • Test Plan:
      Hide
      1. Create/Edit a quiz
      2. Add/Edit an audio response question
      3. Provide point value and instructions
      4. Input a negative number for "Time Allowed"
        1. PASS: custom error message is displayed at the top of the page and below the form field, indicating what the problem is, and giving valid examples
        2. FAIL: custom error message is only displayed at the top of the page
      5. Input a non-numeric value for "Time Allowed"
        1. PASS: custom error message is displayed at the top of the page and below the form field, indicating what the problem is, and giving valid examples
        2. FAIL: no custom error message is displayed at the top of the page and below the form field
      Show
      Create/Edit a quiz Add/Edit an audio response question Provide point value and instructions Input a negative number for "Time Allowed" PASS: custom error message is displayed at the top of the page and below the form field, indicating what the problem is, and giving valid examples FAIL: custom error message is only displayed at the top of the page Input a non-numeric value for "Time Allowed" PASS: custom error message is displayed at the top of the page and below the form field, indicating what the problem is, and giving valid examples FAIL: no custom error message is displayed at the top of the page and below the form field

      Description

      Inputting an invalid value for Time Allowed (seconds) for Student Audio Response questions gives you the error on top of the page and underneath the text field:

      itemForm:timeallowed: Validation Error: Value is not of the correct type

      Use the same warning message as when you try to input a negative number. Also, when you input a negative number you only get a warning at the top. We should also include the warning underneath the text field like the previous warning (client side vs. server side validation).

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                bjones86 Brian Jones
                Reporter:
                bjones86 Brian Jones
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration