Bug #3988 [NEW]: javascript component doesnt work for array field names
| From: | luk822 at 8chter dot com | Date: | Tue, 29 Mar 2005 06:12:55 +0000 |
| Subject: | Bug #3988 [NEW]: javascript component doesnt work for array field names | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5815@lists.php.net to get a copy of this message | ||
From: luk822 at 8chter dot com
Operating system: Win XP
PHP version: 4.3.9
Package: Documentation
Bug Type: Bug
Bug description: javascript component doesnt work for array field names
Description:
------------
Problem with PEAR :: QuickForm :: Hierselect Element
latest version
when giving the form element an array type field name the javascript
funtionality breaks
Reproduce code:
---------------
$element =& HTML_QuickForm::createElement(
'hierselect',
'record[somefield]',
'Some Field'
);
note: naming the field above "record[somefield]" above( in order to
retrieve data as array ) will cause a javascript error and doesn't allow
the script to work
Expected result:
----------------
the javascript should work for array field names also
Actual result:
--------------
javascript doesn't work
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=3988&edit=1
--