Closed nonprofittechy closed 2 years ago
@nonprofittechy I am not sure what I am doing wrong but I cannot figure out how to use the state list properly for the UK. We don't have this attached to assembly line so I am not having success with the Assembly Line example... the "Vanilla Docasemble" example is not much different than what we have.
How do I get the right country code going? I am trying to add in set_country('GB') but not sure where to put it to trigger it
Here's an easy way to do it:
states_list(country_code="gb")
Note that the country code is lowercase
This tool is only for the UK, but we can use the standard address picker.
states_list()
will show the country within the UK, e.g., England, Wales, Scotland, Northern Ireland.https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/question_library/addresses
We should also use
address autocomplete: True