Limit alpha-numeric entry to 10 characters

I am designing a survey on ODK. In in one of the questions, the study ID, I expect the enumerators to enter a 10 digit entry, nothing more and nothing less (strictly 10 characters) . The answer I expect should be alphanumeric i.e KT010100001

Anyone with an idea what constraint should be used?

Thanks in advance

See https://opendatakit.org/help/form-design/binding/ for a list of
available functions.

string-length(.) = 10

ยทยทยท On Sat, Nov 29, 2014 at 2:54 AM, wrote:

I am designing a survey on ODK. In in one of the questions, the study ID,
I expect the enumerators to enter a 10 digit entry, nothing more and
nothing less (strictly 10 characters) . The answer I expect should be
alphanumeric i.e KT010100001

Anyone with an idea what constraint should be used?

Thanks in advance

--

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/d/optout.

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