HTML-FormFu-ExtJS
view release on metacpan or search on metacpan
examples/forms/vertically-aligned.yml view on Meta::CPAN
---
id: form
auto_id: '%n'
auto_fieldset:
legend: A fieldset
elements:
- type: Hidden
name: h1
- type: Text
name: t1
label: a Text element
- type: Text
name: t2
label: another, with a comment
comment: comment here!
- type: Text
name: t3
comment: another with no label
- type: Password
name: p1
label: a Password element
- type: File
name: f1
label: a File element
- type: Textarea
name: ta1
label: a Textarea element
rows: 3
- type: Textarea
name: ta2
label: another, styled fullwidth
container_attrs:
class: fullwidth
- type: Select
name: s1
label: a Select element
values: [one, two, three]
- type: Select
name: opt1
label: a Select with optgroups
options:
- group: [[1, one], [2, two]]
label: opt1
- [3, non-optgroup]
- group: [[4, four], [5, five]]
label: opt2
# 2nd fieldset
- Fieldset
- type: Radiogroup
name: rg1
label: a RadioGroup element
values: [one, two]
- type: Radiogroup
name: rg2
label: another styled vertically
values: [one, two]
attrs:
class: vertical
- type: Radiogroup
name: rg3
label: another, styled vertically, with sub-groups
attrs:
class: vertical
( run in 1.750 second using v1.01-cache-2.11-cpan-5b529ec07f3 )