Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (21 sloc) 394 Bytes
metadata:
title: State selection
example start: 2
example end: 3
documentation: "https://docassemble.org/docs/functions.html#states_list"
---
modules:
- docassemble.base.util
---
question: |
Where do you live?
fields:
- State: user_state
code: states_list()
---
mandatory: True
question: |
You live in
${ state_name(user_state) },
which is abbreviated
${ user_state }.