Multiple questions on a single screen

Hi,

Is it possible to have multiple questions per screen now?

Also is there a facility to set the values of more than one questions
from a single value ( for instance by calling an intent to an external
app to return a value which is then stored as answer of different
questions on the form)?

Thanks
Shilpa Vijayan

Hi Shilpa,

The current tip now has multiple-questions-per-screen functionality.

The out-call to an app that returns multiple values isn't available.

I'm focusing on Aggregate 1.0 until November, so my work on Collect will be
just bug fixes until then.

··· ----------- To use the multiple-questions-per-screen feature, you simply wrap the set of questions to show on the same page with a tag. Then set an appearance attribute on that tag.

appearance="field-list" -- displays the questions in order on the same
page.

appearance="conditional-field-list" -- the first question in the
should be a or . Other questions in the group can have
relevance for zero or more of the select clauses (in the binding, put:
relevant="selected(/path/of/select, 'value')" to establish this
dependency). If any of these questions is relevant to only one of the
select clauses, it is moved under that choice, otherwise it is displayed in
order below the select statement.

These changes mean that these enhanced forms are backward-compatible with
older ODK Collects -- they simply won't show multiple questions per screen.

==========
There is one known regression with the image prompts, whereby double-tapping
the image brings up a slideshow rather than just displaying that one image
in higher resolution.

Please report any bugs with the multi-question screens. They are tested,
but I recently saw an odd focusing issue arise (work-around was to tap to a
different prompt on the screen, then return to the one I wanted). But I
couldn't find a clean reproduction case.

==========
The tip also fixes:

  • media files are now properly handled, so you don't need to replicate them
    across forms.
  • form load failures are better-handled, obviating much of the need to
    manually delete the .cache directory.

Mitch

On Wed, Sep 15, 2010 at 2:20 PM, peqi survey peqisurvey@gmail.com wrote:

Hi,

Is it possible to have multiple questions per screen now?

Also is there a facility to set the values of more than one questions
from a single value ( for instance by calling an intent to an external
app to return a value which is then stored as answer of different
questions on the form)?

Thanks
Shilpa Vijayan

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

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.com

Hi Mitch,

Thanks for your prompt reply. I'll be trying this out and report how
it goes.
I also had a question about the media files. Is there a way to package
them for a deployment or download them as you would download forms
that will create the appropriate folder and store the files on the
phone? Or do you have to create the media files folders manually on
the sdcard for each of the forms (that uses media).

Thanks
Shilpa Vijayan

··· On Sep 15, 2:20 pm, peqi survey wrote: > Hi, > > Is it possible to have multiple questions per screen now? > > Also is there a facility to set the values of more than one questions > from a single value ( for instance by calling an intent to an external > app to return a value which is then stored as answer of different > questions on the form)? > > Thanks > Shilpa Vijayan

Alas, for now, you need to do this manually. This functionality will be in
Aggregate 1.x, but may not be in the very first publicly available release.

Mitch

··· On Fri, Sep 17, 2010 at 11:01 AM, Shilpa Vijayan wrote:

Hi Mitch,

Thanks for your prompt reply. I'll be trying this out and report how
it goes.
I also had a question about the media files. Is there a way to package
them for a deployment or download them as you would download forms
that will create the appropriate folder and store the files on the
phone? Or do you have to create the media files folders manually on
the sdcard for each of the forms (that uses media).

Thanks
Shilpa Vijayan

On Sep 15, 2:20 pm, peqi survey peqisur...@gmail.com wrote:

Hi,

Is it possible to have multiple questions per screen now?

Also is there a facility to set the values of more than one questions
from a single value ( for instance by calling an intent to an external
app to return a value which is then stored as answer of different
questions on the form)?

Thanks
Shilpa Vijayan

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

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.com