Constraints on questions

Hi all,

Is there an easy way to require the enumerator to enter in a value for
every question on ODK Collect? That is, I want it to be such that you
cannot advance in the survey without answering every question. I've tried
placing constraints on the values, but this only has an effect if the you
input some value for the question (i.e. if the constraint is " .>0 and
.<=150 ", an entered value of 200 will prevent movement to the next screen,
but when no value is entered, you can proceed to the next screen).

Thanks!
Melanie

Hi Melanie,

You can make the prompt required. See the bottom of
http://opendatakit.org/help/form-design/binding/ for an example of a
required integer in XML.

If you are using XLSForm, you can add a true() to the required column
of the prompt. See http://opendatakit.org/help/form-design/xlsform for
an example form.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Thu, Feb 6, 2014 at 2:30 AM, Melanie Wallskog nicaragua.nd2@gmail.com wrote:

Hi all,

Is there an easy way to require the enumerator to enter in a value for every
question on ODK Collect? That is, I want it to be such that you cannot
advance in the survey without answering every question. I've tried placing
constraints on the values, but this only has an effect if the you input some
value for the question (i.e. if the constraint is " .>0 and .<=150 ", an
entered value of 200 will prevent movement to the next screen, but when no
value is entered, you can proceed to the next screen).

Thanks!
Melanie

--

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.

Thanks, Yaw!

··· On Thursday, February 6, 2014 12:26:12 AM UTC-5, Yaw Anokwa wrote: > > Hi Melanie, > > You can make the prompt required. See the bottom of > http://opendatakit.org/help/form-design/binding/ for an example of a > required integer in XML. > > If you are using XLSForm, you can add a true() to the required column > of the prompt. See http://opendatakit.org/help/form-design/xlsform for > an example form. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > > On Thu, Feb 6, 2014 at 2:30 AM, Melanie Wallskog <nicara...@gmail.com > wrote: > > Hi all, > > > > Is there an easy way to require the enumerator to enter in a value for > every > > question on ODK Collect? That is, I want it to be such that you cannot > > advance in the survey without answering every question. I've tried > placing > > constraints on the values, but this only has an effect if the you input > some > > value for the question (i.e. if the constraint is " .>0 and .<=150 ", an > > entered value of 200 will prevent movement to the next screen, but when > no > > value is entered, you can proceed to the next screen). > > > > Thanks! > > Melanie > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@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...@googlegroups.com . > > For more options, visit https://groups.google.com/groups/opt_out. >