Re: HTML Form to Quickform
| From: | Klaus Guenther | Date: | Tue, 12 Oct 2004 17:14:01 +0000 |
| Subject: | Re: HTML Form to Quickform | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14882@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
On Tue, 12 Oct 2004 10:44:45 +0200, Alexander Petri <alex.petri@gmx.de> wrote:You could simply recreate the form in quickform. After all, if you want to use QuickForm, you will have to do that anyway as Justin mentioned. The only problem with QuickForm is that it isn't quite so flexible when it comes to layout. Of course, it is possible to use a template or even get the html for each element and put it where you want. But by default, it's a bit rigid. KlausI got a very big Form writen in HTML is it possible to bind this to Quickform?? how can i do this easily? any examples?"Bind to quickform"? To use HTML_QuickForm you have to create and process the form with HTML_QuickForm. There is no way IMHO to create an HTML_QuickForm from a custom HTML form. However, if your form is set you can leave the display to your custom form and, on submit, create an HTML_QuickForm object with all of the same fields for validation and processing.