How can i highlight the field which has failed a validation constraint on odk collect

I have set several constraints on some fields, the problem is that a toast
is shown but the appropriate field is not highlighted in red, any
suggestion of how i can change the color of the field which has the error?

Bosco,

Not in the 1.0 generation of tools. I think it's possible in the 2.0
generation. See http://opendatakit.org/use/2_0_tools/ if you want to
try them out.

Yaw

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

On Tue, Apr 22, 2014 at 4:47 AM, Bosco Mutung'a boscomutunga@gmail.com wrote:

I have set several constraints on some fields, the problem is that a toast
is shown but the appropriate field is not highlighted in red, any suggestion
of how i can change the color of the field which has the error?

--

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.

With the 1.x tools, you *can *customize the error message text (but not the
color), so that the text identifies the question that failed the
constraint.

This is very important when you have multiple questions on one screen. In
the XML, specify jr:constraintMsg="..." as a bind attribute.
In XLS, specify the message in the 'constraint_message' column. The same
customization is available for relevant messages (same naming applies)

Mitch

··· On Tue, Apr 22, 2014 at 10:18 AM, Yaw Anokwa wrote:

Bosco,

Not in the 1.0 generation of tools. I think it's possible in the 2.0
generation. See http://opendatakit.org/use/2_0_tools/ if you want to
try them out.

Yaw

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

On Tue, Apr 22, 2014 at 4:47 AM, Bosco Mutung'a boscomutunga@gmail.com wrote:

I have set several constraints on some fields, the problem is that a
toast
is shown but the appropriate field is not highlighted in red, any
suggestion
of how i can change the color of the field which has the error?

--

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.

--

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