How to validate in a select_one, filter items from a repeat group?

I do not know if there will be better ways to do this, but how did I have
the following problems:

  1. My constraint does not work: jr: choice-name (${QHRESP}, '${QHRESP}')!
    = '-'
  2. string-length() always gives 4 as a result

Ramón

select_one_filterItemFromRepeatGroup.xls (33 KB)

Created this issue:
http://code.google.com/p/opendatakit/issues/detail?id=894

Your form looks like it should work. Some hand tweaks of the xml failed to
get anything to work.

··· On Fri, Aug 16, 2013 at 10:24 AM, Ramon de la Cruz Lazaro < rmdlazaro@gmail.com> wrote:

I do not know if there will be better ways to do this, but how did I have
the following problems:

  1. My constraint does not work: jr: choice-name (${QHRESP}, '${QHRESP}')!
    = '-'
  2. string-length() always gives 4 as a result

Ramón

--

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