Re: maybe a QuickForm bug? was: QuickForm issues again
| From: | Bertrand Mansion | Date: | Tue, 25 Jun 2002 11:12:19 +0000 |
| Subject: | Re: maybe a QuickForm bug? was: QuickForm issues again | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1753@lists.php.net to get a copy of this message | ||
le 24/06/02 23:47, David Dahl à david@ddahl.com a écrit :
> I think I figured it out... QuickForm won't let you to create 2 forms on
> the same page with the same hidden input field names...
>
> $userFormEdit->addElement('hidden', '_sub', 'edit1');
> $userForm->addElement('hidden', '_sub', 'edit2');
>
> the hidden input will always have the value of the first one
> instantiated...
>
> has anyone else seen this happen...
>
> ps:
>
> I have QuickForm 2.3
I don't see why this would be a problem in QuickForm. IMO, the problem is
somewhere else.
Bertrand Mansion
Mamasam