Permalink
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (55 sloc) 1.1 KB
metadata:
title: Join from monitor
example start: 3
example end: 4
documentation: "https://docassemble.org/docs/livehelp.html#join"
---
modules:
- docassemble.base.util
---
mandatory: True
code: |
set_live_help_status(availability='available', mode='help', partner_roles=['advocate'])
---
initial: True
code: |
process_action()
if user_has_privilege('admin', 'developer'):
advocate_screen
---
event: advocate_screen
question: |
Summary of user's answers so far.
review:
- Change Fruit: fruit
button: |
The favorite fruit was ${ fruit }.
- Change Vegetable: vegetable
button: |
The favorite vegetable was ${ vegetable }.
- Change Fungus: fungi
button: |
The favorite fungus was ${ fungi }.
resume button label: Refresh
---
question: |
What is your favorite fruit?
fields:
- Fruit: fruit
---
question: |
What is your favorite vegetable?
fields:
- Vegetable: vegetable
---
question: |
What is your favorite fungi?
fields:
- Fungi: fungi
---
mandatory: True
question: |
My conclusion
subquestion: |
You like ${ fruit }, ${ vegetable }, and
${ fungi }.