My situation is as follows: the user is asked to input a country from a list of options (select_one). Each country is located within a continent (there are many countries in each continent), and each country also has a unique country code.
I'm trying to have it such that both continent and country code appear automatically once the user has selected their country, which the user should not be able to change. The solution I've come up with is to set country code and continent to be read only values and to set dynamic default values in the choices tab.
I've figured out to set values as read_only, but not how to get the correct country_code label to show up. I've attached what I have so far. Any help would be greatly appreciated.
test_survey.xlsx (10.4 KB)