Fixing a silly bug in ODK Build

Dear all,

I was working on modification in ODK buid since past few months. There was
a bug, which is it shows the label instead of constraint message.

The problem was in


*LIne 436. *There was
addTranslation(control.label, xpath + control.name + ':constraintMsg',
translations);

It should be

addTranslation(control.invalidText, xpath + control.name + ':constraintMsg',
translations);

Thank you All

Filed at https://github.com/clint-tseng/odkbuild/issues/36. If you can
submit a pull request that fixes the issue, it'll be more likely to
get fixed quickly.

Yaw

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

On Tue, Mar 18, 2014 at 6:30 AM, Mobinul Islam mobinul@mpower-health.com wrote:

Dear all,

I was working on modification in ODK buid since past few months. There was a
bug, which is it shows the label instead of constraint message.

The problem was in
https://github.com/clint-tseng/odkbuild/blob/master/public/javascripts/data.js
LIne 436. There was
addTranslation(control.label, xpath + control.name + ':constraintMsg',
translations);

It should be

addTranslation(control.invalidText, xpath + control.name + ':constraintMsg',
translations);

Thank you All

--

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.