Re: quickform - Bug?
| From: | Bertrand Mansion | Date: | Fri, 25 Jul 2003 10:43:18 +0000 |
| Subject: | Re: quickform - Bug? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18694@lists.php.net to get a copy of this message | ||
<georgbez@gmx.net> wrote :
> Hi,
>
> i have a problem with Quickform v3.1, in v3.0 is all clear
> this is a snipet of my code.
>
> [...]
> $form->addElement( 'text', 'name', 'foobar:' );
>
> $rules["name"][0] = array('foo', 'required');
> $rules["name"][1] = array('bar', 'lettersonly');
> $form->addGroupRule("name", $rules);
> [...]
>
> and he say:
> Fatal error: Call to undefined function: getelementname() in
> c:\webroot\pear\PEAR\HTML\QuickForm.php on line 944
Hi Georg,
Could you please send me a small piece of code that reproduces the problem
you have so I can test on my machine. Thanks,
Bertrand Mansion
Mamasam