you need to make question 2 relevant if question 1 is blank.
···
On Thu, Nov 10, 2011 at 11:15, res tester wrote:
> Hi
>
> I'm new to ODK Development, I would like to know how to check is gps
> location is stored or not?
>
> For Example:
>
> Question 1 : will look to capture gps location
> Question 2: enter address if gps location not catptured
>
> Note question 2 has dependency, how to validate or add relavance in
> the question 2
>
> Thanks & Regards
> R E S
>
> --
> Post: opendatakit@googlegroups.com
> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> Options: http://groups.google.com/group/opendatakit?hl=en
>
i did some more testing, and you are correct. building relevancies
around geopoint doesn't work because it isn't considered something you
can compare other values against.
if it's truly urgent, you can either hire some developers to patch the
core (see http://opendatakit.org/help/help-for-hire/) or train your
enumerators (or put in the question text) to only enter the address if
they get a blank location.
yaw
···
On Wed, Nov 16, 2011 at 12:58, res tester wrote:
> Hi Yaw,
> Thanks for the feedback,I have added relavant condition for geopoint
> datatype then the we are getting error and app is freezing.
>
> relavant="selected('/data/gps',' ')"/>
> If I check relavant for string datatype works fine... what could be the
> issue?
> Kindly help us..It's making show stopper for my project
> Regards,
> RS
> On Thu, Nov 10, 2011 at 3:45 PM, Yaw Anokwa wrote:
>>
>> we have lots of form design help and examples at
>> http://opendatakit.org/help/form-design.
>>
>> you need to make question 2 relevant if question 1 is blank.
>>
>> On Thu, Nov 10, 2011 at 11:15, res tester wrote:
>> > Hi
>> >
>> > I'm new to ODK Development, I would like to know how to check is gps
>> > location is stored or not?
>> >
>> > For Example:
>> >
>> > Question 1 : will look to capture gps location
>> > Question 2: enter address if gps location not catptured
>> >
>> > Note question 2 has dependency, how to validate or add relavance in
>> > the question 2
>> >
>> > Thanks & Regards
>> > R
>
>
>>
>> >
>> > --
>> > Post: opendatakit@googlegroups.com
>> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
>> > Options: http://groups.google.com/group/opendatakit?hl=en
>> >
>
>