Re: Formbuilder ¿bugs?
| From: | Justin Patrin | Date: | Thu, 09 Dec 2004 05:52:58 +0000 |
| Subject: | Re: Formbuilder ¿bugs? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16132@lists.php.net to get a copy of this message | ||
On Thu, 09 Dec 2004 05:18:12 +0100, Rodrigo Alvarez <papipo@gmail.com> wrote:
> Hi PEARs,
>
> If I use $fb_textFields, then specified fields become textarea, but if
> they are defined as NULL, this option overrides their 'required' rule.
>
Nice catch. This was indeed a bug. If the field was in any of the
*type*Fields arrays it would lose its NOT_NULL-ness. Fixed in CVS.
> Is there a way to add an empty option (like $fb_selectAddEmpty), to an
> enum field (i'm using $fb_selectAddEmpty with $fb_enumFields, but this
> simply don't work).
Good point. I've added selectAddEmpty support to enums. I've also
added support for an auto-empty option when the field is allowed to be
null (link fields also do this now).
All of this is in CVS. Thanks much for reporting these. (Bug
report/feature request would have been acceptable too).
>
> Thanks a lot,
>
> Rodrigo.
>
--
Justin Patrin