hierselect & linksNewValue

From: Date: Sun, 06 Nov 2005 15:06:35 +0000
Subject: hierselect & linksNewValue
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21813@lists.php.net to get a copy of this message
Hi list! I tried hierselect code found in http://opensource.21st.de/25.html#A11. It's working ok but omites var $linksNewValue. <code> var $fb_linkNewValue=true; var $fb_linkNewValueText = '--Add one--'; var $fb_linkElementTypes = array('id_countryid_city'=>'select') --> I tried id_countryid_city[0] and 'hierselect' instead 'select' but didn't work [.....] function preGenerateForm(&$fb){ $hierselect =& HTML_QuickForm::createElement('hierselect', $fb->getFieldName($virtualfield), $desc,null,'<br/>'); [......] $this->fb_preDefElements[$virtualfield] = $hierselect; [....] } </code> Does anybody know how to get it working? thanks in advance

« previous php.pear.general (#21813) next »