-
Notifications
You must be signed in to change notification settings - Fork 303
Expand file tree
/
Copy pathgrid2.yml
More file actions
58 lines (58 loc) · 1.1 KB
/
grid2.yml
File metadata and controls
58 lines (58 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
metadata:
title: Fields in a grid
short title: Grid
documentation: "https://docassemble.org/docs/fields.html#grid"
example start: 1
example end: 2
---
features:
labels above fields: True
---
question: |
Let's pick some numbers.
fields:
- "Are you afraid of odd numbers?": no_odd
datatype: yesnoradio
- "1": number_one
datatype: yesno
grid: 2
hide if: no_odd
- "2": number_two
datatype: yesnowide
grid: 2
- "3": number_three
datatype: yesnowide
grid: 2
hide if: no_odd
- "4": number_four
datatype: yesnowide
grid: 2
- "5": number_five
datatype: yesnowide
grid: 2
hide if: no_odd
- "6": number_six
datatype: yesnowide
grid: 2
- "7": number_seven
datatype: yesnowide
grid: 2
hide if: no_odd
- "8": number_eight
datatype: yesnowide
grid: 2
- "9": number_nine
datatype: yesnowide
grid: 2
hide if: no_odd
- "10": number_ten
datatype: yesnowide
grid: 2
---
mandatory: True
question: |
% if no_odd:
I agree, odd numbers are scary.
% else:
Who thinks odd numbers are scary?
% endif