Re: Partially display form elements
| From: | Mark Wiesemann | Date: | Wed, 28 Dec 2005 16:57:56 +0000 |
| Subject: | Re: Partially display form elements | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22368@lists.php.net to get a copy of this message | ||
Alejandro López Hernández wrote:
> I want to partially display elements of a form, I'm using HTML_QuickForm
> to make the form and I need to display just parts of the same because my
> form is very long. I want to make something like Mambo's/Joomla's
> content publishing script so that I need to display the HTML code within
> divs in order to create tabs, but if I use display() method it prints
> all of the form, is it possible to display only parts of the form?
You can't do this directly with QF. Possible solutions:
- split your form into many forms and show single forms on your tabs
- use HTML_QuickForm_Controller for the tabbing / paging
HTH,
Mark