Permalink
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (36 sloc) 697 Bytes
metadata:
title: Disable back button
example start: 2
example end: 2
documentation: "https://docassemble.org/docs/functions.html#prevent_going_back"
---
modules:
- docassemble.base.util
---
code: |
app_submitted = True
prevent_going_back()
---
question: |
Your application for ${ service }
has been submitted.
need: app_submitted
field: first_screen_after
mandatory: True
---
question: |
Your application will be carefully considered.
field: second_screen_after
mandatory: True
---
mandatory: True
question: |
You will hear from us in six weeks.
---
question: |
For what service would you like
to apply?
field: service
choices:
- Tutoring
- Resume writing assistance