FormBuilder, advmultiselect and crossLinks

From: Date: Tue, 06 Dec 2005 11:19:27 +0000
Subject: FormBuilder, advmultiselect and crossLinks
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22164@lists.php.net to get a copy of this message
Hi all ! How can I use an advmultiselect instead of multipleselect or checkboxes for crosslinks in formbuilder ? I registered advmultiselect to quickForm : HTML_QuickForm::registerElementType('advmultiselect','HTML/QuickForm','HTML_QuickForm_advmultiselect'); The registration works ok But then I'd like to do this :
    	var $fb_crossLinks = array(array('table' => 'movieactor','type'=>'advmultiselect'));
Unfortunately it still renders checkboxes this way. I could use a preDefElement in preGenerateForm, but then I'd have to repopulate the select. Any idea ? \ | / Arnaud Sellenet-Bodin Dév et dés http://demental.info Tel : 05 63 55 24 46 / | \

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