Re: QuickForm::freeze howto not display buttons? [SOLVED]
| From: | Patrick Fehr | Date: | Thu, 18 Nov 2004 14:29:52 +0000 |
| Subject: | Re: QuickForm::freeze howto not display buttons? [SOLVED] | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15637@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
solved, hat to name the group and delete it with removeElement('groupname')
thx
--
Patrick Fehr
Swiss Federal Institute Of Technology