Re: QuickForm - how object oriented is it?
| From: | Bertrand Mansion | Date: | Wed, 28 May 2003 23:38:37 +0000 |
| Subject: | Re: QuickForm - how object oriented is it? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5675@lists.php.net to get a copy of this message | ||
<martijnsanderse@yahoo.com> wrote :
> Hi,
>
> Another day, another question:
> I got two instances of the formobject, first one is shown first. When I do a
> query using the data of the first form and it gives multiple results I'd
> like the second form to show that results so i'm able to choose from it,
> and submit.
> I have both forms in a file and choose whichone to show by either
> $form1->display() or $form2->display(). Works ok, but:
>
> When I ask $form2->getSubmitValues(); I get the submitValues of $form1.....
>
> Is this a known issue, or does my programming skills need an update on
> object-oriented programming?
Sorry, I don't understand what you want to do.
You can have a look at the QuickForm examples in the docs directory.
GetSubmitValues() as the name says gets the submitted values. So if it's
form1 that is submitted, the you will get the submitted values from form1.
Bertrand Mansion
Mamasam