Home » HTML » HTML_QuickForm » Bug #8376
Adding a group rule 'required' for a group with a hierselect element error
Details
| Submitted | 2006-08-07 19:03 UTC |
|---|---|
| From | rjrdavid at gmail dot com |
| Status | Wont fix |
| Package | HTML_QuickForm |
| PHP Version | 4.4.2 |
| OS | Windows/Linux |
| Roadmaps | (Not assigned) |
Comments
[2006-08-07 19:03 UTC] rjrdavid at gmail dot com
Description:
------------
The javascript code generated when creating a group rule 'required' for a group with a hierselect element is not working. Example, a group is created for a textbox and a hierselect element (2 select boxes). Even there is a selected value from the hierselect element, a required javascript error is still trigerred.
I did some checking and found out that the javascript is cheking the name groupName[elementName] but the real name of the select elements is in the form groupName[elementName][n]