PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_QuickForm » Bug #8376

Adding a group rule 'required' for a group with a hierselect element error

Details

Submitted2006-08-07 19:03 UTC
Fromrjrdavid at gmail dot com
StatusWont fix
PackageHTML_QuickForm
PHP Version4.4.2
OSWindows/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]