"unsupported construct [filter expression]"

Hello

I have this error when I test my ODK form in the ODK validate. what
may not be right

Paul,

Let’s see the full text of the error, or please send the form as an attachment and I will run it through Validate. Interpretting those errors can be a little bit of an art form, but a lot of the time they can tell you exactly where you went wrong.

···

On Wed, Mar 14, 2012 at 9:01 AM, paul macharia machari...@gmail.com wrote:

Hello

I have this error when I test my ODK form in the ODK validate. what

may not be right

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To post to this group, send email to kobo-...@googlegroups.com.

To unsubscribe from this group, send email to kobo-users+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/kobo-users?hl=en.

Thanks Neil,

Please find attached the form, I suspect the error is based on the
relevant options (the sequence of the logics) /data/D03 = '1' and
/data/D02 = '1' D03 comes before D02.

I hope the hear from you.

Regards
Paul

BEHAVIORAL Form.xml (216 KB)

···

On 3/14/12, Neil Hendrick <Neil.H...@kobotoolbox.org> wrote:

Paul,
Let's see the full text of the error, or please send the form as an
attachment and I will run it through Validate. Interpretting those errors
can be a little bit of an art form, but a lot of the time they can tell you
exactly where you went wrong.

On Wed, Mar 14, 2012 at 9:01 AM, paul macharia > <machari...@gmail.com>wrote:

Hello

I have this error when I test my ODK form in the ODK validate. what
may not be right

--
You received this message because you are subscribed to the Google Groups
"Kobo Users" group.
To post to this group, send email to kobo-...@googlegroups.com.
To unsubscribe from this group, send email to
kobo-users+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/kobo-users?hl=en.

--
You received this message because you are subscribed to the Google Groups
"Kobo Users" group.
To post to this group, send email to kobo-...@googlegroups.com.
To unsubscribe from this group, send email to
kobo-users+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/kobo-users?hl=en.

--
Paul M. Macharia

Paul,

The order of the elements does not matter.
However, it looks like you built this in ODK Build, which handles things a little differently than KoBoForm. Usually, they are interchangeable, that is, a form that works will work no matter where you made it, but if it doesn’t work, it is a little harder for me to troubleshoot a form that came from ODK Build.

When I look at the XML, the thing I see first is that you have a lot of groups. Why are you grouping all these elements? It looks like maybe you want them to appear on the same screen. Are you designing for a tablet?

My suggestion is to get rid of the groups unless you are trying to make things repeat.

You must make sure that you never use the same node name twice, or it will crash the form in an ugly way that is hard to decipher. I don’t see that you have made something repeat, but look out for that.

···

On Thu, Mar 15, 2012 at 9:39 AM, paul macharia machari...@gmail.com wrote:

Thanks Neil,

Please find attached the form, I suspect the error is based on the

relevant options (the sequence of the logics) /data/D03 = ‘1’ and

/data/D02 = ‘1’ D03 comes before D02.

I hope the hear from you.

Regards

Paul

On 3/14/12, Neil Hendrick Neil.H...@kobotoolbox.org wrote:

Paul,

Let’s see the full text of the error, or please send the form as an

attachment and I will run it through Validate. Interpretting those errors

can be a little bit of an art form, but a lot of the time they can tell you

exactly where you went wrong.

On Wed, Mar 14, 2012 at 9:01 AM, paul macharia > > > machari...@gmail.comwrote:

Hello

I have this error when I test my ODK form in the ODK validate. what

may not be right

You received this message because you are subscribed to the Google Groups

“Kobo Users” group.

To post to this group, send email to kobo-...@googlegroups.com.

To unsubscribe from this group, send email to

kobo-users+...@googlegroups.com.

For more options, visit this group at

http://groups.google.com/group/kobo-users?hl=en.

You received this message because you are subscribed to the Google Groups

“Kobo Users” group.

To post to this group, send email to kobo-...@googlegroups.com.

To unsubscribe from this group, send email to

kobo-users+...@googlegroups.com.

For more options, visit this group at

http://groups.google.com/group/kobo-users?hl=en.

Paul M. Macharia

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To post to this group, send email to kobo-...@googlegroups.com.

To unsubscribe from this group, send email to kobo-users+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/kobo-users?hl=en.