[html-formfu] Grouped options in Select or Radiogroup

bits bits_formfu at itools.com
Tue Sep 4 22:47:57 GMT 2007


> > What's the YML syntax necessary to produce an option group in a
Radiogroup
> > or Select?

> ---
> elements:
>   - type: Select
>     name: month
>     options:
>       - label: "----Q1----"
>         group:
>           - [01, January]
>           - [02, February]
>           - [03, March]

Thanks Carl, that's exactly what I was looking for.  

Unfortunately, group seems to break the AutoSet constraint.  The desired
behavior would be to have the AutoSet constraint pass for any of the group
members' values.




More information about the HTML-FormFu mailing list