Mitech Preloader

ChooseFromList

Help / User Reference

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.

 

Command structure:

I live in«ChooseFromList(State,Alabama,Alaska,Arizona,Arkansas,California,Colorado,
Connecticut,Delaware,Florida,Georgia,
Hawaii,Idaho,Illinois,Indiana,Iowa,Kansas,Kentucky,
Louisiana,Maine,Maryland,Massachusetts,Michigan,Minnesota,
Mississippi,Missouri,Montana,
Nebraska,Nevada,New Hampshire,New Jersey,New Mexico,New York,North Carolina,North Dakota,Ohio,Oklahoma,Oregon,Pennsylvania,Rhode Island,South Carolina,South Dakota,
Tennessee,Texas,Utah,Vermont,Virginia,Washington,West Virginia,Wisconsin,Wyoming)» «ToUpper(State)»

 

Note:

It is important to include a fillpoint indicating where the result of the data capture must be inserted – hence the «ToUpper(State)» in the example. If this is omitted then the result of the list will not appear in the document.

In fact unless the result of the list is used anywhere in the template, either in an If command or by inserting the result into the document, the list will not appear on the interview.

 

Related articles:

ChooseFromRDBList

ChooseFromHzRDBList