Re: FormBuilder, advmultiselect and crossLinks

From: Date: Tue, 06 Dec 2005 19:26:09 +0000
Subject: Re: FormBuilder, advmultiselect and crossLinks
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22169@lists.php.net to get a copy of this message
On 12/6/05, arnaud sellenet bodin <demental@free.fr> wrote: > 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 ? > FormBuilder doesn't support advmultiselect as it is now. -- Justin Patrin

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