[prev in list] [next in list] [prev in thread] [next in thread]
List: horde-dev
Subject: [dev] Form Field Type question
From: Hamid Sadeghi <horde () sadeghi ! co ! uk>
Date: 2005-09-28 13:06:37
Message-ID: 20050928140637.yiv2k1k2bdc0w4s0 () pwc-css ! net
[Download RAW message or body]
I have been trying to add a Form Field Type that has an enum as its
extra parameteres, but it is not working.
Here is an extract in the about function
$about['params'] = array(
'values' => array('label' => _("Questions"),
'type' => 'enum',
'params'=>array(array('1'=>'1','2'=>'2'))
),
On display it gives warning and select box appears to be empty.
Warning: Missing argument 1 for init() in
/usr/share/pear/Horde/Form.php on line 2067
and Warning: Invalid argument supplied for foreach() in
/usr/share/pear/Horde/UI/VarRenderer/html.php on line 1296
Thanks
Hamid
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic