···
From: opendatakit@googlegroups.com [mailto:opendatakit@googlegroups.com] On Behalf Of Lynsey Stafford
Sent: 17 January 2014 11:25 AM
To: opendatakit@googlegroups.com
Subject: Re: [ODK Community] Constraints not working?
Yes.
Spreadsheet attached here, if it helps!
Thanks
Lynsey
On Friday, 17 January 2014 16:19:35 UTC+7, Mofya wrote:
Hi Lynsey,
Is the question required?
Regards,
Mofya
From: opend...@googlegroups.com <javascript:> [mailto:opend...@googlegroups.com <javascript:> ] On Behalf Of Lynsey Stafford
Sent: 17 January 2014 10:46 AM
To: opend...@googlegroups.com <javascript:>
Subject: Re: [ODK Community] Constraints not working?
Thanks, I have got the constraints working now, but have come to a different issue:
If an incorrect value is entered, the constraint message (and therefore knowledge of the error) is only being presented to the enumerator once you try to save the form. This isn't useful in a tree survey, as the surveyor may have already moved 1000m through the forest only to have to go and recheck their measurement....
Is there a way of changing this so that the enumerator is unable to progress any further in the survey before entering data with correct parameters?
Your help is appreciated! Thanks!
On Saturday, 11 January 2014 21:25:21 UTC+7, ニコノコ wrote:
Lynsey, your form appears to be using a different syntax format meant for XML. The constraints syntax for XLSforms is slightly different.
Instead of writing:
constraint=".<=2000 or . ='na'"
you simply write them directly in the cell like so:
.<=2000 or . ='na'
where you meant to have pt_dist_q1 to have a valid value of less than 2000 or 'na'.
There's a logic error in that though: pt_dist_q1 is a decimal type, and will never have a value of 'na'.
Hope that helps.
On Saturday, January 11, 2014, wrote:
Hi all
I am trying to build a form using Excel, which I am uploading onto ODK collect on Android tablet using Formhub.
None of the constraints I have entered into the spreadsheet are working once uploaded onto the tablet, and I have tried lots of different syntax here too.
Screen shot attached.
Any help much appreciated, I am a complete newbie!!
Lynsey
--
Post: opend...@googlegroups.com <javascript:>
Unsubscribe: opendatakit...@googlegroups.com <javascript:>
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 <javascript:> .
For more options, visit https://groups.google.com/groups/opt_out.
--
--
Nik
Need help customizing Survey Instruments/Tools/Forms for ODK Collect? Drop me an email.
--
Post: opend...@googlegroups.com <javascript:>
Unsubscribe: opendatakit...@googlegroups.com <javascript:>
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 <javascript:> .
For more options, visit https://groups.google.com/groups/opt_out.
--
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.