Re: QuickForm::freeze howto not display buttons?
| From: | Doug Kearns | Date: | Thu, 18 Nov 2004 12:59:27 +0000 |
| Subject: | Re: QuickForm::freeze howto not display buttons? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15629@lists.php.net to get a copy of this message | ||
On Thu, Nov 18, 2004 at 01:41:33PM +0100, Patrick Fehr wrote:
> Hi all
>
> I use Quickform for some forms, and it works like a charm, but one thing
> bothers me and I can't find it in the documentation of HTML_QuickForm
> package:
> when freezing the form, I don't want the buttons submit/reset to be
> displayed any more, they serve no purpose after validation and processing
> the data. How can I make them disappear?
Is there are reason you can't just remove them with
HTML_QuickForm::removeElement before you freeze the form?
Regards,
Doug