/
grid9.yml
47 lines (47 loc) · 848 Bytes
/
grid9.yml
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
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: |
How many fingers do you have?
fields:
- Left hand: fingers_left
datatype: integer
grid:
width: 4
- Right hand: fingers_right
datatype: integer
grid:
width: 4
offset: 4
- A: a_field
datatype: yesnowide
grid:
offset: 1
width: 2
- B: b_field
datatype: yesnowide
grid:
offset: 1
width: 2
- C: c_field
datatype: yesnowide
grid:
offset: 1
width: 2
- D: d_field
datatype: yesnowide
grid:
offset: 1
width: 2
---
mandatory: True
question: |
You have
${ quantity_noun(fingers_left + fingers_right, 'finger') }.