-
Notifications
You must be signed in to change notification settings - Fork 304
Expand file tree
/
Copy pathshowif-nested.yml
More file actions
32 lines (32 loc) · 848 Bytes
/
showif-nested.yml
File metadata and controls
32 lines (32 loc) · 848 Bytes
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
metadata:
title: Nested show if
short title: Nested
documentation: "https://docassemble.org/docs/fields.html#show if"
---
question: |
Please fill in the following information.
fields:
- "Do you like fruit?": likes_fruit
datatype: yesnoradio
- "Do you like apples?": likes_apples
datatype: yesnoradio
show if: likes_fruit
- "Why do you like apples?": reason_for_liking_apples
show if: likes_apples
- "Why do you hate apples?": reason_for_hating_apples
show if:
variable: likes_apples
is: False
- "Do you like Fuji apples?": likes_fuji
datatype: yesnoradio
show if: likes_apples
- "Why do you like Fuji apples?": reason_for_liking_fuji_apples
show if: likes_fuji
---
question: |
% if likes_fruit is True:
You like fruit.
% else:
You do not like fruit.
% endif
mandatory: True