Re: QuickForm basics

From: Date: Wed, 01 Oct 2003 15:18:42 +0000
Subject: Re: QuickForm basics
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8184@lists.php.net to get a copy of this message
<keith@setuplinux.com> wrote : > HTML_QuickForm_Controller looks promising, but what I'm doing is pretty > simple. > > I just want to know how to submit the form. This is probally a more > simple question than people are used to. > > I'm using the examples included with quickforms, which of couse only > submit to themselves. > > Below is the code I'm using. WHere do I put in this code where to > submit the form too when it validated? The page I want to submit to is > "client.php" and I've tried putting that in various places without > getting it to work right. If you don't use the controller, you have to submit the form to itself in order to validate the values and redisplay the form if it's wrong. If it's valid, you can use header('Location: client.php'); to redirect to the next page. Bertrand Mansion Mamasam

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