-
Notifications
You must be signed in to change notification settings - Fork 301
Expand file tree
/
Copy pathfields-yesno-check-others-list.yml
More file actions
48 lines (47 loc) · 1.07 KB
/
fields-yesno-check-others-list.yml
File metadata and controls
48 lines (47 loc) · 1.07 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
metadata:
title: Yes/no checkboxes with All of the above
short title: Yes/no
documentation: "https://docassemble.org/docs/fields.html#check others"
---
question: |
Please provide the following information.
fields:
- "What is your favorite food?": favorite_food
- note: Check which foods you like.
- Apples: likes_apples
datatype: yesno
- Turnips: likes_turnips
datatype: yesno
- Both: likes_both_foods
datatype: yesno
check others:
- likes_turnips
- likes_apples
- note: Check which rocks you like.
- Granite: likes_granite
datatype: yesno
- Obsidian: likes_obsidian
datatype: yesno
- I like both of these rocks: likes_both_rocks
datatype: yesno
check others:
- likes_granite
- likes_obsidian
---
question: |
Thank you for that information.
subquestion: |
You like ${ favorite_food }.
% if likes_apples:
You like apples.
% endif
% if likes_turnips:
You like turnips.
% endif
% if likes_granite:
You like granite.
% endif
% if likes_obsidian:
You like obsidian.
% endif
mandatory: True