https://bugzilla.wikimedia.org/show_bug.cgi?id=22013
Summary: Radiobutton, Mandatory, No Default fails validation Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: major Priority: Normal Component: SemanticForms AssignedTo: yaro...@gmail.com ReportedBy: jack.p...@psitex.com CC: wikibugs-l@lists.wikimedia.org Created an attachment (id=6924) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6924) Use validate_mandatory_checkboxes instead of validate_mandatory_radiobutton If you have a form field that is a radiobutton, mandatory, without a default, uses validate_mandatory_radiobutton, which looks to see if the "None" button is checked. The form printer defaults the "None" button to the first button, when mandatory is specified, but, there is no "None" button. Therefore if the first radiobutton is checked in this scenario it will always fail validation. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- 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