[html-formfu] How to have a null row in a select box?
Carl Franks
fireartist at gmail.com
Wed Mar 11 15:31:41 GMT 2009
2009/3/11 Kaare Rasmussen <kaare at jasonic.dk>:
> Hi
>
> In the config yml file I have this
>
> - type: Select
> name: parent_id
> label: Parent
> model_config:
> resultset: Parents
> id_column: id
> label_column: label
>
> This is OK if we need an entry. But what if this should result in a null calue
> in the database, or an undef in Perl?
Are you meaning a NULL value for the id_column or label_column,
or the resultset returning zero rows?
Cheers,
Carl
More information about the HTML-FormFu
mailing list