quickform - Bug?
| From: | Georg Bez | Date: | Fri, 25 Jul 2003 08:30:54 +0000 |
| Subject: | quickform - Bug? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-18679@lists.php.net to get a copy of this message | ||
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
georg