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