Re: QuickForm: How to set a form variable without setDefaults()?
| From: | Marko Kaening | Date: | Thu, 20 Mar 2003 11:49:03 +0000 |
| Subject: | Re: QuickForm: How to set a form variable without setDefaults()? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4330@lists.php.net to get a copy of this message | ||
Hi Bertrand,
> - Submitted values override default values.
yes, that's clear.
> - HTML_QuickForm_Element extends HTML_Common which has a updateAttributes()
> method.
I see.
> - Input type elements extend HTML_QuickForm_Input which has a setValue()
> method.
Yes, that's what I meant. Only a few element types support that method.
> - Hidden element values can be set using addElement('hidden', 'myhidden',
> 'my value')
Ahhh, I see. Looks like I missed that when I was trying to get my program
running.
Thanks for responding!
Marko