QuickForm_Controller: get value filed from previous page
| From: | Reynald Borer | Date: | Thu, 10 Jun 2004 11:51:55 +0000 |
| Subject: | QuickForm_Controller: get value filed from previous page | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13069@lists.php.net to get a copy of this message | ||
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