Is there a NOT 'contains' that can be used in dynamic selects from preloaded data?

We are doing something similar to this search*('hhplotdata', 'contains',
'respondentname', ${nametofind})") *we actually want to populate the select
multi with rows that do NOT contain the search term. (Sounds crazy but it
is an attendance form and we want to re-take attendance for students who
were not marked present.

Is that even possible? If not, that is good info, and I will look for a
workaround.

Thanks!

Craig Savel

Hi Craig,

I don't think so. search only lets you match rows. More at
https://opendatakit.org/help/form-design/data-preloading in the
Dynamically-Loaded Multiple-Choice Data section.

Changing this behavior will require deep changes in the core
(https://github.com/opendatakit/javarosa/issues/16 is the relevant
issue). It's not a small task, but it's one we currently laying the
groundwork for.

If you need this today, your CSV can have a column called status
(present, absent) and you can search on that column to get all the
absent students.

Yaw

ยทยทยท On Wed, Apr 12, 2017 at 5:47 PM, Craig Savel wrote: > We are doing something similar to this search('hhplotdata', 'contains', > 'respondentname', ${nametofind})") we actually want to populate the select > multi with rows that do NOT contain the search term. (Sounds crazy but it is > an attendance form and we want to *re-take* attendance for students who were > not marked present. > > Is that even possible? If not, that is good info, and I will look for a > workaround. > > Thanks! > > Craig Savel > > -- > -- > 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.