Re: QuickForm and hidden field type
| From: | Martin Tsachev | Date: | Fri, 11 Oct 2002 11:59:58 +0000 |
| Subject: | Re: QuickForm and hidden field type | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2479@lists.php.net to get a copy of this message | ||
On Fri October 11 2002 2:58 pm, xav wrote:
> Hello all,
>
> I got a problem with hidden fields in Quickform.
>
> I want to create an hidden field value on a condition and Quickform
> doesn't seems to agree with me ;)
>
> Just have a look at the code below, when I call it with a get param
> called "action" the hidden field should be created and set action
> to "domodif" but it only returns "modif" .
>
> If I rename the hidden field to whatever else, it works fine...
>
> Am I doing a big mistake ? or is it a bug ?
>
> Thanks
Try to turn off register_globals, probably $self contains
&action=modif.
--
Martin Tsachev
http://martin.f2o.org