--- auto_fieldset: 1 # indicator not set as it breaks registration test in t/c/email.t # indicator: submit localize_class: MojoMojo::I18N # If not set, missing error messages will default to their keys (e.g. "form_constraint_word"), not the corresponding values (e.g. 'Field contains non-word characters') localize: 1 # overridden in most forms, but required for auto_id id: form # ensure checkboxes + radio buttons have an ID # so the label gets a for="" attribute # which makes the whole label clickable auto_id: "%f_%n" # 'group' elements - multiple input fields with the same name # ensure they get unique IDs default_args: elements: Radiogroup: auto_id: "$f_%n_%c" Checkboxgroup: auto_id: "%f_%n_%c"