Form designers

Hi all,

I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies
for a project, and I've run into some issues with ODK which I hope someone
here will be kind enough to help me with.

The main one is around form designers. It seems that there are three
commonly-used GUI design tools (apart from xls2xforms), and I've had
problems with them all:

  • ODK Build seems easy to use, but doesn't seem to support the newer
    question types such as Date and Time, GPS, etc. Is that right? Are there
    plans to add such support?

  • PurcForms seems extremely difficult to use; clicking Preview hangs the
    app on "Refreshing Design Surface..." forever; I get random JavaScript
    errors while using it; I have to copy and paste the XForms XML into a text
    file to upload to ODK Aggregate, which refuses to accept it due to some
    validation error. Has anyone encountered similar errors, or got PurcForms
    to work well with ODK?

  • KoBo seems to be a good intermediate in complexity, but the forms it
    generates can't be uploaded into ODK Aggregate because they are missing a
    form ID; the FAQ question about this says that I can add an id attribute
    to the root element (<h:html>) but the error persists when I do. How do I
    actually add this ID in a way that works for ODK Aggregate?

Finally, since we have a large number of questions with the same set of
three possible responses (No/Yes/Very Yes), do any of the designer support
defining this list once and referencing it elsewhere?

Thanks in advance for your help.

Cheers, Chris.

··· -- Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

I am a non-expert user of ODK build and it produced date (with time) and GPS
location data, plus images, photo - not sure about the etc.

Chris Buddenhagen

··· On Mon, Aug 1, 2011 at 11:07 AM, Chris Wilson wrote:

Hi all,

I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies
for a project, and I've run into some issues with ODK which I hope someone
here will be kind enough to help me with.

The main one is around form designers. It seems that there are three
commonly-used GUI design tools (apart from xls2xforms), and I've had
problems with them all:

  • ODK Build seems easy to use, but doesn't seem to support the newer
    question types such as Date and Time, GPS, etc. Is that right? Are there
    plans to add such support?

  • PurcForms seems extremely difficult to use; clicking Preview hangs the
    app on "Refreshing Design Surface..." forever; I get random JavaScript
    errors while using it; I have to copy and paste the XForms XML into a text
    file to upload to ODK Aggregate, which refuses to accept it due to some
    validation error. Has anyone encountered similar errors, or got PurcForms
    to work well with ODK?

  • KoBo seems to be a good intermediate in complexity, but the forms it
    generates can't be uploaded into ODK Aggregate because they are missing a
    form ID; the FAQ question about this says that I can add an id attribute
    to the root element (<h:html>) but the error persists when I do. How do I
    actually add this ID in a way that works for ODK Aggregate?

Finally, since we have a large number of questions with the same set of
three possible responses (No/Yes/Very Yes), do any of the designer support
defining this list once and referencing it elsewhere?

Thanks in advance for your help.

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

Hi all,

OK, sorry, I answered one question myself, immediately after posting as
usual :frowning:

··· On Mon, 1 Aug 2011, Chris Wilson wrote:
  • KoBo [forms] can't be uploaded into ODK Aggregate because they are
    missing a form ID; the FAQ question about this says that I can add an id
    attribute to the root element (<h:html>) but the error persists when I
    do. How do I actually add this ID in a way that works for ODK Aggregate?

The FAQ page on the Wiki seems to be wrong about this. I can't edit it, so
I added a comment at the bottom. The ID belongs on the instance node
inside , whose name depends on the name of the form, for
example <KoBo_Test id="kobo">.

Does anyone know why KoBo doesn't give you a GUI way to change the form
ID? Or if it does, where can I find it?

Another question if I may: this discussion
http://groups.google.com/group/opendatakit/browse_thread/thread/d5620877b4e9cf05/95e556754d6dc9c8?lnk=gst&q=boolean#95e556754d6dc9c8
asks if Boolean is supported by ODK, but the question is never answered. I
just tried it and a Boolean field created in KoBo is rendered as a text
field in ODK Collect. Is that expected behaviour?

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

Hi Chris,

Because your forms are to be consumed by ODK, then KoBo and ODK build
produce the most compatible forms compared to PurcForms.

That being said, which version of PurcForms did you use? Is it this:
http://purcforms.appspot.com/FormDesigner.html

And which browser?

··· On Mon, Aug 1, 2011 at 6:07 PM, Chris Wilson wrote:

Hi all,

I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies
for a project, and I've run into some issues with ODK which I hope someone
here will be kind enough to help me with.

The main one is around form designers. It seems that there are three
commonly-used GUI design tools (apart from xls2xforms), and I've had
problems with them all:

  • ODK Build seems easy to use, but doesn't seem to support the newer
    question types such as Date and Time, GPS, etc. Is that right? Are there
    plans to add such support?

  • PurcForms seems extremely difficult to use; clicking Preview hangs the
    app on "Refreshing Design Surface..." forever; I get random JavaScript
    errors while using it; I have to copy and paste the XForms XML into a text
    file to upload to ODK Aggregate, which refuses to accept it due to some
    validation error. Has anyone encountered similar errors, or got PurcForms
    to work well with ODK?

  • KoBo seems to be a good intermediate in complexity, but the forms it
    generates can't be uploaded into ODK Aggregate because they are missing a
    form ID; the FAQ question about this says that I can add an id attribute
    to the root element (<h:html>) but the error persists when I do. How do I
    actually add this ID in a way that works for ODK Aggregate?

Finally, since we have a large number of questions with the same set of
three possible responses (No/Yes/Very Yes), do any of the designer support
defining this list once and referencing it elsewhere?

Thanks in advance for your help.

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.

hey chris,

gps already exists in build, it's the location widget.

build supports date, but not time. the time widget is a new feature in
collect 1.1.7. it's not hard to add, but it's behind some higher
priority functionality in build. track the bug at
http://code.google.com/p/opendatakit/issues/detail?id=280.

xls2xform is the only tool (besides hand coding) that allows you to
reference the large number of questions. you can find the source at
https://github.com/jbeorse/pyxform, but note that it's still getting
prepped for release, so caveat emptor.

yaw

··· On Mon, Aug 1, 2011 at 08:07, Chris Wilson wrote: > Hi all, > > I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies > for a project, and I've run into some issues with ODK which I hope someone > here will be kind enough to help me with. > > The main one is around form designers. It seems that there are three > commonly-used GUI design tools (apart from xls2xforms), and I've had > problems with them all: > > * ODK Build seems easy to use, but doesn't seem to support the newer > question types such as Date and Time, GPS, etc. Is that right? Are there > plans to add such support? > > * PurcForms seems extremely difficult to use; clicking Preview hangs the > app on "Refreshing Design Surface..." forever; I get random JavaScript > errors while using it; I have to copy and paste the XForms XML into a text > file to upload to ODK Aggregate, which refuses to accept it due to some > validation error. Has anyone encountered similar errors, or got PurcForms > to work well with ODK? > > * KoBo seems to be a good intermediate in complexity, but the forms it > generates can't be uploaded into ODK Aggregate because they are missing a > form ID; the FAQ question about this says that I can add an id attribute > to the root element () but the error persists when I do. How do I > actually add this ID in a way that works for ODK Aggregate? > > Finally, since we have a large number of questions with the same set of > three possible responses (No/Yes/Very Yes), do any of the designer support > defining this list once and referencing it elsewhere? > > Thanks in advance for your help. > > Cheers, Chris. > -- > Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 > The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES > > Aptivate is a not-for-profit company registered in England and Wales > with company number 04980791. > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

Hi Chris,

··· On Mon, 1 Aug 2011, Chris Buddenhagen wrote:

I am a non-expert user of ODK build and it produced date (with time) and
GPS location data, plus images, photo - not sure about the etc.

I didn't mean the date and time of the form completion, I meant date and
time controls on the form. I can see a Date control, but not "Date and
Time" or "Time" which are supported by ODK Collect. Also I can't see if
it's possible to include taking photos with the phone's camera in Build.

Does anyone know if these things are possible with ODK Build?

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

Hi Chris:

It looked like your questions were answered so I didn't respond, but I wanted to chime in to tell you that Build does support using the same set of responses many times without redefinition; see the bulk edit option under the Select One/Many controls.

Best,
Clint

··· On Monday, August 1, 2011 at 8:07 AM, Chris Wilson wrote:

Hi all,

I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies
for a project, and I've run into some issues with ODK which I hope someone
here will be kind enough to help me with.

The main one is around form designers. It seems that there are three
commonly-used GUI design tools (apart from xls2xforms), and I've had
problems with them all:

  • ODK Build seems easy to use, but doesn't seem to support the newer
    question types such as Date and Time, GPS, etc. Is that right? Are there
    plans to add such support?

  • PurcForms seems extremely difficult to use; clicking Preview hangs the
    app on "Refreshing Design Surface..." forever; I get random JavaScript
    errors while using it; I have to copy and paste the XForms XML into a text
    file to upload to ODK Aggregate, which refuses to accept it due to some
    validation error. Has anyone encountered similar errors, or got PurcForms
    to work well with ODK?

  • KoBo seems to be a good intermediate in complexity, but the forms it
    generates can't be uploaded into ODK Aggregate because they are missing a
    form ID; the FAQ question about this says that I can add an id attribute
    to the root element (<h:html>) but the error persists when I do. How do I
    actually add this ID in a way that works for ODK Aggregate?

Finally, since we have a large number of questions with the same set of
three possible responses (No/Yes/Very Yes), do any of the designer support
defining this list once and referencing it elsewhere?

Thanks in advance for your help.

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

--
Post: opendatakit@googlegroups.com (mailto:opendatakit@googlegroups.com)
Unsubscribe: opendatakit+unsubscribe@googlegroups.com (mailto:opendatakit+unsubscribe@googlegroups.com)
Options: http://groups.google.com/group/opendatakit?hl=en

Hi all

Not sure if this thread is still open but I'm having the same problem as
Chris, sepcifically when uploading an xml file into KoBo Form, editing it
then trying to upload to ODK Aggregate.

I have a simple form created in ODK Build (and which works fine) which I
have been asked to modify (add new fields). To do this, I uploaded the xml
file to KoBo (http://www.kobotoolbox.org/koboform/) then changed the form
name as explained in this thread and saved the file to me PC. Aggregate
fails to upload the file ("Error: Problem with JavaRosa Parsing Form:
Javarosa failed to construct a FormDef. Is this an XForm definition?"). When
I run the file through ODK Validate I get the error shown in the attached
file "KoBo problem1.txt". So, the problem seems to be the format of the
title line (<h:title
ref="jr:itext('crcrpubproviderV2')">crcrpubproviderV2</h:title>). I changed
this to the same format of my other forms
(<h:title>crcrpubproviderV2</h:title>). This seems to work but then
validate then picks up a duplicate bind id error as shown in the attached
file "KoBo problem2.txt". Now I'm stuck. I've also attached the xml file
downloaded form KoBo.

If one of the KoBo developers would advise me how to fix this (or tell me
what I'm doing wrong), I'd be grateful. I would also really like to know if
there is a way to convert an Xform or xlm file into and XLS2Form as I'm
interested in working on my forms in Excel too. I have quite a few
modifications to do and I really don't want to do them in xml if possible!

Many thanks in advance.
Glyn

crcrpubproviderV2.xml (8.63 KB)

KoBo problem1.txt (3.85 KB)

KoBo problem2.txt (3.65 KB)

··· On Monday, August 1, 2011 8:37:36 PM UTC+5:30, Chris Wilson wrote: > > Hi all, > > I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies > for a project, and I've run into some issues with ODK which I hope someone > here will be kind enough to help me with. > > The main one is around form designers. It seems that there are three > commonly-used GUI design tools (apart from xls2xforms), and I've had > problems with them all: > > * ODK Build seems easy to use, but doesn't seem to support the newer > question types such as Date and Time, GPS, etc. Is that right? Are there > plans to add such support? > > * PurcForms seems extremely difficult to use; clicking Preview hangs the > app on "Refreshing Design Surface..." forever; I get random JavaScript > errors while using it; I have to copy and paste the XForms XML into a text > file to upload to ODK Aggregate, which refuses to accept it due to some > validation error. Has anyone encountered similar errors, or got PurcForms > to work well with ODK? > > * KoBo seems to be a good intermediate in complexity, but the forms it > generates can't be uploaded into ODK Aggregate because they are missing a > form ID; the FAQ question about this says that I can add an id attribute > to the root element () but the error persists when I do. How do I > actually add this ID in a way that works for ODK Aggregate? > > Finally, since we have a large number of questions with the same set of > three possible responses (No/Yes/Very Yes), do any of the designer support > defining this list once and referencing it elsewhere? > > Thanks in advance for your help. > > Cheers, Chris. > -- > Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 > The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES > > Aptivate is a not-for-profit company registered in England and Wales > with company number 04980791. > >

Mitch

Apologies for attaching the wrong form. I've attached the correct one
here.The 'visible' attribute appeared after using the Kobo form builder -
it was 'relevant' originally. I can see that, after downloading my form
from Kobo, it has also duplicated most of the data names and omitted the
question fields. Perhaps this is a matter for Kobo.
Regards
Glyn

crcrpubproviderV2.xml (6.04 KB)

··· On Monday, August 1, 2011 8:37:36 PM UTC+5:30, Chris Wilson wrote: > > Hi all, > > I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies > for a project, and I've run into some issues with ODK which I hope someone > here will be kind enough to help me with. > > The main one is around form designers. It seems that there are three > commonly-used GUI design tools (apart from xls2xforms), and I've had > problems with them all: > > * ODK Build seems easy to use, but doesn't seem to support the newer > question types such as Date and Time, GPS, etc. Is that right? Are there > plans to add such support? > > * PurcForms seems extremely difficult to use; clicking Preview hangs the > app on "Refreshing Design Surface..." forever; I get random JavaScript > errors while using it; I have to copy and paste the XForms XML into a text > file to upload to ODK Aggregate, which refuses to accept it due to some > validation error. Has anyone encountered similar errors, or got PurcForms > to work well with ODK? > > * KoBo seems to be a good intermediate in complexity, but the forms it > generates can't be uploaded into ODK Aggregate because they are missing a > form ID; the FAQ question about this says that I can add an id attribute > to the root element () but the error persists when I do. How do I > actually add this ID in a way that works for ODK Aggregate? > > Finally, since we have a large number of questions with the same set of > three possible responses (No/Yes/Very Yes), do any of the designer support > defining this list once and referencing it elsewhere? > > Thanks in advance for your help. > > Cheers, Chris. > -- > Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 > The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES > > Aptivate is a not-for-profit company registered in England and Wales > with company number 04980791. > >

Just FYI, if you're using purcforms to build a form, it doesn't seem set the
question type properly to prompt to get a location (it sets it to
type:xsd:string format: gps); ODK Build does (it sets it to type:geopoint)

best,

bird

··· On Mon, Aug 1, 2011 at 11:04 PM, Yaw Anokwa wrote:

hey chris,

gps already exists in build, it's the location widget.

build supports date, but not time. the time widget is a new feature in
collect 1.1.7. it's not hard to add, but it's behind some higher
priority functionality in build. track the bug at
http://code.google.com/p/opendatakit/issues/detail?id=280.

xls2xform is the only tool (besides hand coding) that allows you to
reference the large number of questions. you can find the source at
https://github.com/jbeorse/pyxform, but note that it's still getting
prepped for release, so caveat emptor.

yaw

On Mon, Aug 1, 2011 at 08:07, Chris Wilson chris@aptivate.org wrote:

Hi all,

I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies
for a project, and I've run into some issues with ODK which I hope
someone
here will be kind enough to help me with.

The main one is around form designers. It seems that there are three
commonly-used GUI design tools (apart from xls2xforms), and I've had
problems with them all:

  • ODK Build seems easy to use, but doesn't seem to support the newer
    question types such as Date and Time, GPS, etc. Is that right? Are there
    plans to add such support?

  • PurcForms seems extremely difficult to use; clicking Preview hangs the
    app on "Refreshing Design Surface..." forever; I get random JavaScript
    errors while using it; I have to copy and paste the XForms XML into a
    text
    file to upload to ODK Aggregate, which refuses to accept it due to some
    validation error. Has anyone encountered similar errors, or got PurcForms
    to work well with ODK?

  • KoBo seems to be a good intermediate in complexity, but the forms it
    generates can't be uploaded into ODK Aggregate because they are missing a
    form ID; the FAQ question about this says that I can add an id attribute
    to the root element (<h:html>) but the error persists when I do. How do I
    actually add this ID in a way that works for ODK Aggregate?

Finally, since we have a large number of questions with the same set of
three possible responses (No/Yes/Very Yes), do any of the designer
support
defining this list once and referencing it elsewhere?

Thanks in advance for your help.

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

there is no support for start time and end date in build. to do that,
you'll need to export the form and edit it by hand.
if you need an example with start/end, try the widgets form at
http://code.google.com/p/opendatakit/source/list?repo=forms. i've
filed the issue at
http://code.google.com/p/opendatakit/issues/detail?id=284.

at the bottom of the screen, there is a media widget. use that, and in
the properties, change the kind to image.

··· On Tue, Aug 2, 2011 at 05:15, Chris Wilson wrote: > Hi Chris, > > On Mon, 1 Aug 2011, Chris Buddenhagen wrote: > >> I am a non-expert user of ODK build and it produced date (with time) and >> GPS location data, plus images, photo - not sure about the etc. > > I didn't mean the date and time of the form completion, I meant date and > time *controls* on the form. I can see a Date control, but not "Date and > Time" or "Time" which are supported by ODK Collect. Also I can't see if > it's possible to include taking photos with the phone's camera in Build. > > Does anyone know if these things are possible with ODK Build? > > Cheers, Chris. > -- > Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 > The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES > > Aptivate is a not-for-profit company registered in England and Wales > with company number 04980791. > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

Hi Daniel,

Because your forms are to be consumed by ODK, then KoBo and ODK build
produce the most compatible forms compared to PurcForms.

OK. I tried PurcForms because it's recommended on the ODK website.

That being said, which version of PurcForms did you use? Is it this:
http://purcforms.appspot.com/FormDesigner.html

And which browser?

Yes it is that page, in Chrome (Chromium).

Cheers, Chris.

··· On Mon, 1 Aug 2011, Daniel Kayiwa wrote: -- Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

Hi Yaw,

there is no support for start time and end date in build. to do that,
you'll need to export the form and edit it by hand.
if you need an example with start/end, try the widgets form at
http://code.google.com/p/opendatakit/source/list?repo=forms.

I'm not sure I understand you. I tried the widgets demo and I can see
three controls that I would like to use in surveys:

  • Date
  • Date and time
  • Time

I've succeeded in creating Date controls using Build, but not the other
two. Is that a known issue?

i've filed the issue at
http://code.google.com/p/opendatakit/issues/detail?id=284.

I agree that this is a really useful feature :slight_smile: and one that KoBo seems to
add automatically, but it's not quite what I was asking for.

at the bottom of the screen, there is a media widget. use that, and in
the properties, change the kind to image.

OK brilliant, I thought that would only allow me to upload an image that
had been previously taken with the phone's camera and saved on the phone.

Any chance of getting a nice favicon on the ODK and Build websites to help
me identify the tabs? :slight_smile:

Cheers, Chris.

··· On Tue, 2 Aug 2011, Yaw Anokwa wrote: -- Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

and as far as boolean, i think we don't support it because it's the
same as select one with true and false as values..

··· On Wed, Aug 3, 2011 at 13:05, Clint Tseng wrote: > Hi Chris: > It looked like your questions were answered so I didn't respond, but I > wanted to chime in to tell you that Build does support using the same set of > responses many times without redefinition; see the bulk edit option under > the Select One/Many controls. > Best, > Clint > > On Monday, August 1, 2011 at 8:07 AM, Chris Wilson wrote: > > Hi all, > > I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies > for a project, and I've run into some issues with ODK which I hope someone > here will be kind enough to help me with. > > The main one is around form designers. It seems that there are three > commonly-used GUI design tools (apart from xls2xforms), and I've had > problems with them all: > > * ODK Build seems easy to use, but doesn't seem to support the newer > question types such as Date and Time, GPS, etc. Is that right? Are there > plans to add such support? > > * PurcForms seems extremely difficult to use; clicking Preview hangs the > app on "Refreshing Design Surface..." forever; I get random JavaScript > errors while using it; I have to copy and paste the XForms XML into a text > file to upload to ODK Aggregate, which refuses to accept it due to some > validation error. Has anyone encountered similar errors, or got PurcForms > to work well with ODK? > > * KoBo seems to be a good intermediate in complexity, but the forms it > generates can't be uploaded into ODK Aggregate because they are missing a > form ID; the FAQ question about this says that I can add an id attribute > to the root element () but the error persists when I do. How do I > actually add this ID in a way that works for ODK Aggregate? > > Finally, since we have a large number of questions with the same set of > three possible responses (No/Yes/Very Yes), do any of the designer support > defining this list once and referencing it elsewhere? > > Thanks in advance for your help. > > Cheers, Chris. > -- > Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 > The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES > > Aptivate is a not-for-profit company registered in England and Wales > with company number 04980791. > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

Hi Clint,

··· On Wed, 3 Aug 2011, Clint Tseng wrote:

It looked like your questions were answered so I didn't respond, but I
wanted to chime in to tell you that Build does support using the same
set of responses many times without redefinition; see the bulk edit
option under the Select One/Many controls.

Great, thanks, that does help.

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

The block, to my knowledge, cannot be internationalized (i.e., the
ref="jr:itext(...)" attribute is not detected/recognized).

The attached form is not the same form as the one associated with the
errors, so I can't comment much on what is going on.
'visible' is not a recognized attribute; I think you want 'relevant'

··· On Thu, Jun 27, 2013 at 12:15 AM, Glyn wrote:

Hi all

Not sure if this thread is still open but I'm having the same problem as
Chris, sepcifically when uploading an xml file into KoBo Form, editing it
then trying to upload to ODK Aggregate.

I have a simple form created in ODK Build (and which works fine) which I
have been asked to modify (add new fields). To do this, I uploaded the xml
file to KoBo (http://www.kobotoolbox.org/koboform/) then changed the form
name as explained in this thread and saved the file to me PC. Aggregate
fails to upload the file ("Error: Problem with JavaRosa Parsing Form:
Javarosa failed to construct a FormDef. Is this an XForm definition?"). When
I run the file through ODK Validate I get the error shown in the attached
file "KoBo problem1.txt". So, the problem seems to be the format of the
title line (<h:title
ref="jr:itext('crcrpubproviderV2')">crcrpubproviderV2</h:title>). I changed
this to the same format of my other forms
(<h:title>crcrpubproviderV2</h:title>). This seems to work but then
validate then picks up a duplicate bind id error as shown in the attached
file "KoBo problem2.txt". Now I'm stuck. I've also attached the xml file
downloaded form KoBo.

If one of the KoBo developers would advise me how to fix this (or tell me
what I'm doing wrong), I'd be grateful. I would also really like to know if
there is a way to convert an Xform or xlm file into and XLS2Form as I'm
interested in working on my forms in Excel too. I have quite a few
modifications to do and I really don't want to do them in xml if possible!

Many thanks in advance.
Glyn

On Monday, August 1, 2011 8:37:36 PM UTC+5:30, Chris Wilson wrote:

Hi all,

I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies
for a project, and I've run into some issues with ODK which I hope
someone
here will be kind enough to help me with.

The main one is around form designers. It seems that there are three
commonly-used GUI design tools (apart from xls2xforms), and I've had
problems with them all:

  • ODK Build seems easy to use, but doesn't seem to support the newer
    question types such as Date and Time, GPS, etc. Is that right? Are there
    plans to add such support?

  • PurcForms seems extremely difficult to use; clicking Preview hangs the
    app on "Refreshing Design Surface..." forever; I get random JavaScript
    errors while using it; I have to copy and paste the XForms XML into a
    text
    file to upload to ODK Aggregate, which refuses to accept it due to some
    validation error. Has anyone encountered similar errors, or got PurcForms
    to work well with ODK?

  • KoBo seems to be a good intermediate in complexity, but the forms it
    generates can't be uploaded into ODK Aggregate because they are missing a
    form ID; the FAQ question about this says that I can add an id attribute
    to the root element (<h:html>) but the error persists when I do. How do I
    actually add this ID in a way that works for ODK Aggregate?

Finally, since we have a large number of questions with the same set of
three possible responses (No/Yes/Very Yes), do any of the designer
support
defining this list once and referencing it elsewhere?

Thanks in advance for your help.

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

--
--
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.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Sarah you are very correct on this.

If your destination is ODK when using purcforms, you need to set the
"saveFormat" flag's value to "javarosa"

This can be done in two ways:

  1. Just appending this to the url: ?saveFormat=javarosa
  2. Edit the saveFormat div in the "FormDesigner.html" file to look like
    this:
javarosa

That way purcforms will generate xforms that are JR/ODK compliant (GPS, etc
as expected by ODK)

The instance at http://purcforms.appspot.com/FormDesigner.html
already has that flag set.

··· On Tue, Aug 2, 2011 at 9:49 AM, Sarah Bird wrote:

Just FYI, if you're using purcforms to build a form, it doesn't seem set
the question type properly to prompt to get a location (it sets it to
type:xsd:string format: gps); ODK Build does (it sets it to type:geopoint)

best,

bird

On Mon, Aug 1, 2011 at 11:04 PM, Yaw Anokwa yanokwa@gmail.com wrote:

hey chris,

gps already exists in build, it's the location widget.

build supports date, but not time. the time widget is a new feature in
collect 1.1.7. it's not hard to add, but it's behind some higher
priority functionality in build. track the bug at
http://code.google.com/p/opendatakit/issues/detail?id=280.

xls2xform is the only tool (besides hand coding) that allows you to
reference the large number of questions. you can find the source at
https://github.com/jbeorse/pyxform, but note that it's still getting
prepped for release, so caveat emptor.

yaw

On Mon, Aug 1, 2011 at 08:07, Chris Wilson chris@aptivate.org wrote:

Hi all,

I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies
for a project, and I've run into some issues with ODK which I hope
someone
here will be kind enough to help me with.

The main one is around form designers. It seems that there are three
commonly-used GUI design tools (apart from xls2xforms), and I've had
problems with them all:

  • ODK Build seems easy to use, but doesn't seem to support the newer
    question types such as Date and Time, GPS, etc. Is that right? Are there
    plans to add such support?

  • PurcForms seems extremely difficult to use; clicking Preview hangs the
    app on "Refreshing Design Surface..." forever; I get random JavaScript
    errors while using it; I have to copy and paste the XForms XML into a
    text
    file to upload to ODK Aggregate, which refuses to accept it due to some
    validation error. Has anyone encountered similar errors, or got
    PurcForms
    to work well with ODK?

  • KoBo seems to be a good intermediate in complexity, but the forms it
    generates can't be uploaded into ODK Aggregate because they are missing
    a
    form ID; the FAQ question about this says that I can add an id attribute
    to the root element (<h:html>) but the error persists when I do. How do
    I
    actually add this ID in a way that works for ODK Aggregate?

Finally, since we have a large number of questions with the same set of
three possible responses (No/Yes/Very Yes), do any of the designer
support
defining this list once and referencing it elsewhere?

Thanks in advance for your help.

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.

those are new widgets aren't currently supported in build.
request is at http://code.google.com/p/opendatakit/issues/detail?id=280

if you'd like those widgets, you'll have to build them into the xml by hand.

··· On Wed, Aug 3, 2011 at 03:07, Chris Wilson wrote: > I'm not sure I understand you. I tried the widgets demo and I can see > three controls that I would like to use in surveys: > > * Date > * Date and time > * Time > > I've succeeded in creating Date controls using Build, but not the other > two. Is that a known issue?

Hi Yaw,

··· On Wed, 3 Aug 2011, Yaw Anokwa wrote:

and as far as boolean, i think we don't support it because it's the
same as select one with true and false as values..

Wouldn't it be possible to have a nicer control in the boolean case, for
example a check box? And wouldn't it be easier to build forms with a bunch
of these options if you didn't have to add the options each time?

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

Hi Daniel,

I can't make this work, can you elaborate.

I'm running from eclipse as those were the only instructions I could find
here (http://code.google.com/p/purcforms/wiki/DeveloperGettingStarted).

The URL I was using was:
http://127.0.0.1:8888/FormDesigner.html?gwt.codesvr=127.0.0.1:9997
I changed it to:
http://127.0.0.1:8888/FormDesigner.html?saveFormat=javarosa?gwt.codesvr=127.0.0.1:9997

I'm still getting the same result.

Cheers,

Bird

··· On Mon, Aug 1, 2011 at 11:57 PM, Daniel Kayiwa wrote:

Sarah you are very correct on this.

If your destination is ODK when using purcforms, you need to set the
"saveFormat" flag's value to "javarosa"

This can be done in two ways:

  1. Just appending this to the url: ?saveFormat=javarosa
  2. Edit the saveFormat div in the "FormDesigner.html" file to look like
    this:
javarosa

That way purcforms will generate xforms that are JR/ODK compliant (GPS, etc
as expected by ODK)

The instance at http://purcforms.appspot.com/FormDesigner.html
already has that flag set.

On Tue, Aug 2, 2011 at 9:49 AM, Sarah Bird sbird@alum.mit.edu wrote:

Just FYI, if you're using purcforms to build a form, it doesn't seem set
the question type properly to prompt to get a location (it sets it to
type:xsd:string format: gps); ODK Build does (it sets it to type:geopoint)

best,

bird

On Mon, Aug 1, 2011 at 11:04 PM, Yaw Anokwa yanokwa@gmail.com wrote:

hey chris,

gps already exists in build, it's the location widget.

build supports date, but not time. the time widget is a new feature in
collect 1.1.7. it's not hard to add, but it's behind some higher
priority functionality in build. track the bug at
http://code.google.com/p/opendatakit/issues/detail?id=280.

xls2xform is the only tool (besides hand coding) that allows you to
reference the large number of questions. you can find the source at
https://github.com/jbeorse/pyxform, but note that it's still getting
prepped for release, so caveat emptor.

yaw

On Mon, Aug 1, 2011 at 08:07, Chris Wilson chris@aptivate.org wrote:

Hi all,

I'm evaluating ODK, openXdata and EpiSurveyor as potential technologies
for a project, and I've run into some issues with ODK which I hope
someone
here will be kind enough to help me with.

The main one is around form designers. It seems that there are three
commonly-used GUI design tools (apart from xls2xforms), and I've had
problems with them all:

  • ODK Build seems easy to use, but doesn't seem to support the newer
    question types such as Date and Time, GPS, etc. Is that right? Are
    there
    plans to add such support?

  • PurcForms seems extremely difficult to use; clicking Preview hangs
    the
    app on "Refreshing Design Surface..." forever; I get random JavaScript
    errors while using it; I have to copy and paste the XForms XML into a
    text
    file to upload to ODK Aggregate, which refuses to accept it due to some
    validation error. Has anyone encountered similar errors, or got
    PurcForms
    to work well with ODK?

  • KoBo seems to be a good intermediate in complexity, but the forms it
    generates can't be uploaded into ODK Aggregate because they are missing
    a
    form ID; the FAQ question about this says that I can add an id
    attribute
    to the root element (<h:html>) but the error persists when I do. How do
    I
    actually add this ID in a way that works for ODK Aggregate?

Finally, since we have a large number of questions with the same set of
three possible responses (No/Yes/Very Yes), do any of the designer
support
defining this list once and referencing it elsewhere?

Thanks in advance for your help.

Cheers, Chris.

Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en