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

SG validation example is insufficient for complex forms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2
    • Fix Version/s: None
    • Component/s: User Experience
    • Labels:
      None

      Description

      The validation example provided by the style guide (http://cvs.sakaiproject.org/cgi-bin/cvsweb.cgi/%7echeckout%7e/scratch/styleguide/example/form-val.html) works well for simple validation scenarios, such as missing text inputs. But when there are different kinds of validation problems that can occur on each form control, things get more complex. The Section Info tool, for instance, has several different validation rules applied.

      – End time must not be before start time
      – End time can not be entered if no start time is entered
      – Start/end time is not a valid time

      Plus, combine any of the above with any of the below:

      – Title is empty
      – Title is a duplicate

      The validation messages must be displayed on the components themselves, since there may be different kinds of problems on each individual form control. A message at the top of the page is good, but insufficient.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  dogle Daphne Ogle (Inactive)
                  Reporter:
                  jholtzman Josh Holtzman (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration