Re: Formbuilder and big crosslinks
| From: | Rodrigo Alvarez Fernández | Date: | Tue, 21 Dec 2004 18:12:15 +0000 |
| Subject: | Re: Formbuilder and big crosslinks | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16375@lists.php.net to get a copy of this message | ||
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.
> >
> > Can you help me, please? How can I avoid loading unnecessary crosslinks?
> >
>
> What do you mena by unnecessary?
>
> --
> Justin Patrin
>