ChooseFromList
. This is a command which will present the user (via the interview) with a list of options from which to choose the value of a data element rather than a free-format text field. For example, the following will help the user capture one of South Africa’s provinces:
I live in
«ChooseFromList(province,Eastern Cape,Free State,Gauteng,KwaZulu-Natal,Limpopo,Mpumalanga,Northern Cape,North-West,Western Cape)»«ToUpper(province)»
Note that it is important to include a fillpoint indicating where the result of the data capture must be inserted – hence the «ToUpper(province)»
in the example. If this is omitted then the data element will be captured but will not appear in the document.