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?
ugh, just realised I got that wrong, try again... > --- > elements: > - type: Text > name: username > label: '* Username' > - type: Text > name: password > label: '* Password' > - type: Block > nested_name: beraterdaten > elements: - type: Hidden name: count # must match PK > - type: Repeatable > nested_name: branchen counter_name: id # must match hidden field name above > elements: > - type: Checkboxgroup > label: 'Branche*' > name: branche > model_config: > model: Frontwave > resultset: Branche > id_column: id > label_column: name > attributes: > order_by: 'id asc' The counter field must be *outside* of the Repeatable _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu