Re: QuickForms - a bug or just me?
| From: | Bertrand Mansion | Date: | Sun, 16 Mar 2003 09:35:04 +0000 |
| Subject: | Re: QuickForms - a bug or just me? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4257@lists.php.net to get a copy of this message | ||
<ckline@rightcode.net> wrote :
> I have a page that displays three forms on it, all built with
> HTML_QuickForms.
>
> Each form has a hidden element called fuseaction.
>
> The page that has these forms is access through a GET that passes
> ?fuseaction=Personnel.PersonnelAdmin
>
> Well... one of the forms is setting the value of it's hidden field
> named fuseaction to Personnel.PersonnelAdmin even though I have it
> coded like this:
>
> $form_get_p->addElement('hidden', 'fuseaction2',
> 'Personnel.WORKDAMNIT');
>
> AND none of the other forms on this page have the same name or anything
> and each were created with a unique name for the form object.
>
> Any thoughts? At first it seemed that setting this forms method to GET
> fixed the problem, but I must have imagined that since it doesn't work
> that way now.
>
> This is the second time I have seen this behavior - I just made a form
> by hand last time and moved on.
Just one thing before I reply, please stop adding me to the list of
recipients when your post concerns QuickForm. I am not the only one around
here that uses it, so can just post to the list (that I read anyway) and you
might get an answer from me as well.
You are probably making a mistake in your code because I don't see how this
can be related to QuickForm. If you want more help, please post your code.
Bertrand Mansion
Mamasam