Re: Formbuilder and big crosslinks

From: Date: Tue, 21 Dec 2004 19:54:58 +0000
Subject: Re: Formbuilder and big crosslinks
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16383@lists.php.net to get a copy of this message
On Tue, 21 Dec 2004 19:12:15 +0100, Rodrigo Alvarez Fernández <papipo@gmail.com> wrote: > On Tue, 21 Dec 2004 10:00:14 -0800, Justin Patrin <papercrane@gmail.com> wrote: > > On Tue, 21 Dec 2004 16:39:01 +0100, Rodrigo Alvarez Fernández > > <papipo@gmail.com> wrote: > > > Hi PEARs, > > > > > > I'm trying FromBuilder with a crosslink that points to a table with > > > more than 900 rows. > > > > Well, the crosslink pulls all the rows... > > > > > > > > preGenerateForm(&$fb) { > > > $idCustomer = HTML_QuickForm::createElement('hidden', > > > 'idCustomer'); > > > $this->preDefElements['idCustomer'] = $idCustomer; > > > } > > > > > > I thought than using that, values for select won't be loaded, but it > > > seems that I was wrong, since Page gives 30 seconds timeout! > > > > What did you expect this to do? I don't understand. Crosslinks are > > checkboxes (well, they can be a multi-select, too). What exactly are > > you trying to do here? > > > Ok, I said crosslinks when I wanted to say simple limks. > Example config: > > [Work] > idCustomer = Customer:idCustomer > > I want a hidden and pre-defined value for idCustomer, not the automatic select. I see. Well, I just realized your mistake. You're using $this->preDefElements. You should be using $this->fb_preDefElements. See: http://opensource.21st.de/tiki-index.php?page=Configuring+Formbuilder > > > > > > > Can you help me, please? How can I avoid loading unnecessary crosslinks? > > > > > > > What do you mena by unnecessary? > > > > -- > > Justin Patrin > > > -- Justin Patrin

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