Re: QuickForm_Controller: get value filed from previous page

From: Date: Thu, 10 Jun 2004 12:55:25 +0000
Subject: Re: QuickForm_Controller: get value filed from previous page
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13071@lists.php.net to get a copy of this message
After instantiating the controller object, instantiate a container. Values of previous pages are stored in the container. Ignatius _________________________ "Reynald Borer" <reynald.borer@epfl.ch> wrote in message news:40C84B5B.2030200@epfl.ch... > Hi, > > I'm currently using QuickForm_Controller to build a 3 pages registration > form. What I would like to know is if it's possible to get one value > filled in a previous page to do some check on the current page. Example: > on page 1 you must choose wether you're a member or not, and on page 2 I > display a table that list some prices, and the prices differs when > you're member or not. What I would like to do is highlight the price > corresponding to the state of the submitter (that is, wether or not he > is a member). Is it clear enough ? Basically I just want to take the > content of the previous form and I don't know how to do that. > > Thanks in advance for your answer, and keep going on, PEAR packages are > really great. > > Reynald > > -- > CRAFT > Centre de Recherche et d'Appui pour la Formation et ses Technologies > Center for Research and Support of Training and its Technologies > > Swiss Federal Institute of Technology Lausanne > Ecole Polytechnique Fédérale de Lausanne (EPFL) > > CH-1015 Lausanne Switzerland > Téléphone: +41 (0)21 693 25 89 > Fax: +41 (0)21 693 60 70 > reynald.borer@epfl.ch

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