Hi, I am having problems validating a form. It seems to be whenever I
add a multi-choice field within a looped group. Is this a bug with ODK
build? Every other field type seems to be fine. Form xml listed below.
Many thanks, apologies if the answer is already posted and I haven't
searched the forum hard enough.
Steve
<h:html xmlns="http://www.w3.org/2002/xforms " xmlns:h="http://
www.w3.org/1999/xhtml " xmlns:ev="http://www.w3.org/2001/xml-events "
xmlns:xsd="http://www.w3.org/2001/XMLSchema " xmlns:jr="http://
openrosa.org/javarosa ">
<h:head>
<h:title>WTA</h:title>
Lucia, Charlotte
<Plot_length/>
<Plot_width/>
<Herbarium_collections jr:template="">
<Collection_number/>
<Field_ID/>
</Herbarium_collections>
Personnel
Locality
Altitude (m)
Plot length (m)
Plot width (m)
Herbarium_collections
Collector
Collection_number
Field identification
Options
test1
test2
test3
</h:head>
<h:body>
</h:body>
</h:html>
hi steve,
sorry you are having problems. i've fixed the form and uploaded it to
http://dpaste.com/546900/
the two problems i see
javarosa doesn't like for empty values. it prefers
. regardless, your items should have values before the
form will work.
also, the exported form seems to have newlines in strange places.
i've filed a bug report at
http://code.google.com/p/opendatakit/issues/detail?id=220 . please
track the issue there...
ยทยทยท
On Thu, May 26, 2011 at 09:07, Steve wrote:
> Hi, I am having problems validating a form. It seems to be whenever I
> add a multi-choice field within a looped group. Is this a bug with ODK
> build? Every other field type seems to be fine. Form xml listed below.
>
> Many thanks, apologies if the answer is already posted and I haven't
> searched the forum hard enough.
>
> Steve
>
>
>
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://
> openrosa.org/javarosa">
>
> WTA
>
>
>
>
> Lucia, Charlotte
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Personnel
>
>
>
>
>
> Locality
>
>
>
>
>
> Altitude (m)
>
>
>
>
>
> Plot length (m)
>
>
>
>
>
> Plot width (m)
>
>
>
>
>
> Herbarium_collections
>
>
> Collector
>
>
>
>
>
> Collection_number
>
>
>
>
>
> Field identification
>
>
>
>
>
> Options
>
>
>
>
>
> test1
>
>
> test2
>
>
> test3
>
>
>
>
>
>
>
>
> type="string"/>
> type="int"/>
> type="string"/>
> type="select"/>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Post: opendatakit@googlegroups.com
> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> Options: http://groups.google.com/group/opendatakit?hl=en
>
Steve1
June 10, 2011, 9:00am
3
Hi yaw,
thanks for that - I couldn't get the fixed form from the link, but
based on what you say, it seems was the issue. The form works
now, thanks.
Steve