Re: QuickForm::freeze howto not display buttons?
| From: | Patrick Fehr | Date: | Thu, 18 Nov 2004 14:27:27 +0000 |
| Subject: | Re: QuickForm::freeze howto not display buttons? | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15636@lists.php.net to get a copy of this message | ||
Doug Kearns wrote:
> 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
yes, thei're in a group.
--
Patrick Fehr
Swiss Federal Institute Of Technology