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

       Web browser: ---
            Bug ID: 58077
           Summary: Validation of hidden fields keep form from validating
                    during submit
           Product: MediaWiki extensions
           Version: REL1_20 branch
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: SemanticForms
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Testing for an upgrade from SemanticBundle 1.8alpha to:

Semantic Bundle (Version 1.8.0.5)
Semantic Forms (Version 2.5.3)    
Semantic Forms Inputs (Version 0.7)
Semantic MediaWiki (Version 1.8.0.5)   

I have a mandatory field using regex validation, but it is hidden because the
value of a dropdown is not selected.  But, validation still fails during
submit.  The main validation error message appears at the top of the form, but
the specific error can't be seen next to it's field because it is in the hidden
div.

Workaround: Removing the mandatory option and removing the regex rule allows
the form to be submitted.

I'm trying to upgrade to 1.8.0.5 to get the fix for this very bug... didn't see
a bug on it but I looked at the code changes and looked like it was addressed.

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

Reply via email to