https://bugzilla.wikimedia.org/show_bug.cgi?id=62936

            Bug ID: 62936
           Summary: Replace Form Validation on Submit for DOB and If Minor
                    Field
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Unprioritized
         Component: Wikimania Scholarships
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: kushal...@gmail.com
                CC: bda...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Created attachment 14874
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=14874&action=edit
Error Displayed in Red box after form submission.

In the scholarship application form , Form validation is done on client side
for most of the fields. But if Age of user is < 18 determined by DOB Field ,
the form is validated on submit. This gives an error on top of form and the
user has to scroll down to find where the error is. Check attachment.

Steps to Reproduce:
1. Go to https://wikimania-scholarships.wmflabs.org/apply
2. Fill in the required values.
3. In Date of Birth Field enter value for age < 18 . Say birth year 2000.
4. Leave "If under 18 years old" Field at the last empty.
5. Click submit application.

Actual Result:
Error displayed as shown in attachment.
"Your form has errors. Please correct the errors and submit the form again."

Expected Result:
Either display where the form has error.
Example : Your form has error in field "If under 18 years old". Please correct
error and submit the form again.

Or
The error should be validated before form is submitted at client side. Like for
other fields in the form.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to