formList order?

Hi,

I'm serving a formList with forms in a given order, i.e.

first form second form ...

However, ODK Collect shows them in a different order, which is not
even alphanumerical order by name: it seems to be some random order or
based on godknows what.

Is there a way I can force the order in which they are shown? I really
don't understand why ODK Collect should reorder them at all.

thanks
m.

it's not random, but agreed that it's not human friendly.

filed at http://code.google.com/p/opendatakit/issues/detail?id=333

··· On Fri, Sep 23, 2011 at 17:57, Matteo Sisti Sette wrote: > Hi, > > I'm serving a formList with forms in a given order, i.e. > > first form > second form > ... > > > However, ODK Collect shows them in a different order, which is not > even alphanumerical order by name: it seems to be some random order or > based on godknows what. > > Is there a way I can force the order in which they are shown? I really > don't understand why ODK Collect should reorder them at all. > > thanks > m. > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

If you are writing a web server to interface with ODK Collect 1.1.7, you
should consider implementing the OpenRosa document formats:

https://bitbucket.org/javarosa/javarosa/wiki/OpenRosaAPI

In particular, for form list, see:
https://bitbucket.org/javarosa/javarosa/wiki/FormListAPI

Collect 1.1.7 uses headers
https://bitbucket.org/javarosa/javarosa/wiki/OpenRosaRequest
to identify whether it is the old-style or the new document
format.

It ignores descriptionText and descriptionUrl.

If you are using Collect 1.1.5, it only recognizes the format.
You can distinguish between Collect 1.1.5 and Collect 1.1.7 by the presence
of the X-OpenRosa-Version header on the get request from the phone.

Mitch

··· On Fri, Sep 23, 2011 at 9:40 AM, Yaw Anokwa wrote:

it's not random, but agreed that it's not human friendly.

filed at http://code.google.com/p/opendatakit/issues/detail?id=333

On Fri, Sep 23, 2011 at 17:57, Matteo Sisti Sette matteosistisette@gmail.com wrote:

Hi,

I'm serving a formList with forms in a given order, i.e.

first form second form ...

However, ODK Collect shows them in a different order, which is not
even alphanumerical order by name: it seems to be some random order or
based on godknows what.

Is there a way I can force the order in which they are shown? I really
don't understand why ODK Collect should reorder them at all.

thanks
m.

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

--
Mitch Sundt
Software Engineer
http://www.OpenDataKit.org
University of Washington
mitchellsundt@gmail.com