Home » HTML » HTML_QuickForm » Bug #5344
Error in a javascrip in RuleRegistry.php
Details
| Submitted | 2005-09-08 18:28 UTC |
|---|---|
| From | roberto dot braga at yap dot it |
| Status | Duplicate |
| Package | HTML_QuickForm |
| PHP Version | 5.0.5 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-09-08 18:28 UTC] roberto dot braga at yap dot it
Description:
------------
There is an error in the javascript in the RuleRegistry.php at the line 272 that cause the javascript to fail to initialise so there is no check.
The original line is
" case 'select-multiple:\n" .
the corrected on is
" case 'select-multiple':\n" .
is missing a ' after multiple
The error occours when you use a client side required rule on a radiobutton group (if you add to the form single radiobutton with the same name the error does not occour, you should group them)