[html-formfu] Config::General "select" form field

Florent Angly florent.angly at gmail.com
Mon Dec 15 20:38:59 GMT 2008


Hi all,
I have trouble creating Config::General code for a form select field. 
For example, how does the following YAML config translate into 
Config::General?
> elements:
>   - type: Select
>     name: sex
>     options:
>       - [ 'm', 'Male' ]
>       - [ 'f', 'Female' ]
I've tried many syntaxes without success. Thanks for your help,
Florent



More information about the HTML-FormFu mailing list