Re: DB_DataObject_FormBuilder date problem
| From: | Bertrand Mansion | Date: | Sun, 07 Sep 2003 09:45:02 +0000 |
| Subject: | Re: DB_DataObject_FormBuilder date problem | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21126@lists.php.net to get a copy of this message | ||
<mixtli@humaniq.com> wrote :
> It seems formbuilder is trying to use a quickform element that doesn't
> exist:
>
> $element = HTML_QuickForm::createElement('dategroup', $key,
> $this->getFieldLabel($key),
>
>
> array('format'=>$_DB_DATAOBJECT['CONFIG']['date_element_format']));
>
> 'dategroup' doesn't seem to be an element in QuickForms. Perhaps it's a
> custom
> element you wrote?
I can confirm, dategroup doesn't exist, it should be date instead.
Bertrand Mansion
Mamasam