2009/4/15 Josef Chladek <josef.chla...@gmail.com>:
> hello,
>
> I can't get the following form to save values correctly, how has the yaml to
> be written that the checked checkboxes are saved correctly to
> "BeraterBranchen"? or is nested/nested not possible?

There's a couple of parts missing from the config - see below...

> ---
> elements:
>  - type: Text
>    name: username
>    label: '* Username'
>  - type: Text
>    name: password
>    label: '* Password'
>  - type: Block
>    nested_name: beraterdaten
>    elements:
>          - type: Repeatable
>            nested_name: branchen
             counter_name: id # must match hidden field name below
>            elements:
                - type: Hidden
                  name: id # must match PK
>               - type: Checkboxgroup
>                 label: 'Branche*'
>                 name: branche
>                 model_config:
>                   model: Frontwave
>                   resultset: Branche
>                   id_column: id
>                   label_column: name
>                   attributes:
>                        order_by: 'id asc'

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to