Extra column of data on a choice list?

Is it possible to add an extra column of data on a choice list that is
related to the selection? When my user selects ".e.g. Texas" from a list
of states I would like to later access other data stored on that choice row
relative to the "Texas" selection.

If such a capability exists my thought is that somehow i could just add
data columns to the choice list containing "Texas" and somehow access
those related data via a variable??

Looking for an easy answer!

Thanks!
Bob

This is possible within the XForms XML file, but is not directly supported
by the form-generation tools (XLSForm or Build).

You can do this with the cascading selects construct -- see the XLSForm
documentation here: http://opendatakit.org/help/form-design/xlsform/ for a
link to an example form.

These generate an XML file with content described here:
http://opendatakit.org/help/form-design/cascading-selects/

Note that the cities are nested underneath the states. So you can put data
under 'Texas' using this same mechanism. And access that data using an
XPath.

Mitch

ยทยทยท On Tue, Apr 16, 2013 at 3:31 PM, Bob Achgill wrote:

Is it possible to add an extra column of data on a choice list that is
related to the selection? When my user selects ".e.g. Texas" from a list
of states I would like to later access other data stored on that choice row
relative to the "Texas" selection.

If such a capability exists my thought is that somehow i could just add
data columns to the choice list containing "Texas" and somehow access
those related data via a variable??

Looking for an easy answer!

Thanks!
Bob

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com