QF Controller - Page jumping
| From: | Mike Carter | Date: | Tue, 23 Sep 2003 11:40:15 +0000 |
| Subject: | QF Controller - Page jumping | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7994@lists.php.net to get a copy of this message | ||
Hi,
I'm constructing a registration wizard.
* Page 1 asks for a postcode and optionally a property number/name.
* Page 2 displays a list of properties for the postcode entered.
* Page 3 displays the full details of the address selected.
If a property number/name is provided along with the postcode on page 1,
the full details for a single address are usually returned. This means
page 2 can be skipped.
My problem is, I don't quite understand how the Controllers Jump Action
works for forcing to another page in the wizard correctly.
Also where should I be calling my code which contacts the address
database and obtains the list of addresses matching the postcode
provided? Currently I just put it at the top of my buildForm() method.
--
Mike Carter
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________