Multiple questions on one screen for Android ODK?

Hi all,

I'm developing an Android ODK app on a tablet and would like to put
multiple questions on a single screen--is this possible?

Thanks!
Jon

··· -- Jonathan Payne, MS 615.579.5413 skype: jonathandavidpayne

Hey Jon-

Ask my friend Alex Pavluck at the Task Force for Global Health (whom I am copying). I bet he might know.

Alex, Jon Payne works with me at the mHealth Alliance. Way more tech saavy than me! (I believe you also spoke on the phone with each other about the Standards and Interoperability study he just completed)

Bill

··· On Jan 7, 2013, at 8:59 AM, Jonathan Payne wrote:

Hi all,

I'm developing an Android ODK app on a tablet and would like to put multiple questions on a single screen--is this possible?

Thanks!
Jon

--
Jonathan Payne, MS
615.579.5413
skype: jonathandavidpayne

Hi Jon!

This is definitely possible.

It's a bit rough around the edges still (there's no UI configuration for it
in the HQ form designer), but if you place a number of questions into a
group in the designer, then edit the XML by hand you can add

appearance="field-list"

To the tag, which will make that group display as one page on any
platforms in which that is supported (like CommCare ODK).

-Clayton

··· On Mon, Jan 7, 2013 at 10:14 AM, William C. Philbrick <wcphilbrick@gmail.com wrote:

Hey Jon-

Ask my friend Alex Pavluck at the Task Force for Global Health (whom I am
copying). I bet he might know.

Alex, Jon Payne works with me at the mHealth Alliance. Way more tech saavy
than me! (I believe you also spoke on the phone with each other about the
Standards and Interoperability study he just completed)

Bill
On Jan 7, 2013, at 8:59 AM, Jonathan Payne wrote:

Hi all,

I'm developing an Android ODK app on a tablet and would like to put
multiple questions on a single screen--is this possible?

Thanks!
Jon

--
Jonathan Payne, MS
615.579.5413
skype: jonathandavidpayne

Perfect! Thanks Clayton!

··· On Mon, Jan 7, 2013 at 1:41 PM, Clayton Sims wrote:

Hi Jon!

This is definitely possible.

It's a bit rough around the edges still (there's no UI configuration for
it in the HQ form designer), but if you place a number of questions into a
group in the designer, then edit the XML by hand you can add

appearance="field-list"

To the tag, which will make that group display as one page on any
platforms in which that is supported (like CommCare ODK).

-Clayton

On Mon, Jan 7, 2013 at 10:14 AM, William C. Philbrick < wcphilbrick@gmail.com> wrote:

Hey Jon-

Ask my friend Alex Pavluck at the Task Force for Global Health (whom I am
copying). I bet he might know.

Alex, Jon Payne works with me at the mHealth Alliance. Way more tech
saavy than me! (I believe you also spoke on the phone with each other about
the Standards and Interoperability study he just completed)

Bill
On Jan 7, 2013, at 8:59 AM, Jonathan Payne wrote:

Hi all,

I'm developing an Android ODK app on a tablet and would like to put
multiple questions on a single screen--is this possible?

Thanks!
Jon

--
Jonathan Payne, MS
615.579.5413
skype: jonathandavidpayne

I'm a new user, trying to do the same thing - display several questions in
a form on a single screen. I added the appearance statement into the XML
for the form so that it looks like this:

<h:body>


It has no affect when I deploy it on my Samsung tablet. Did I add the
statement incorrectly? Or are there other settings I need to be aware of
for deploying to a tablet?

Thanks,

Cindy Walter

··· On Monday, January 7, 2013 at 12:41:22 PM UTC-6, Clayton Sims wrote: > > Hi Jon! > > This is definitely possible. > > It's a bit rough around the edges still (there's no UI configuration for > it in the HQ form designer), but if you place a number of questions into a > group in the designer, then edit the XML by hand you can add > > appearance="field-list" > > To the tag, which will make that group display as one page on any > platforms in which that is supported (like CommCare ODK). > > -Clayton > > On Mon, Jan 7, 2013 at 10:14 AM, William C. Philbrick <wcphi...@gmail.com > wrote: > >> Hey Jon- >> >> Ask my friend Alex Pavluck at the Task Force for Global Health (whom I am >> copying). I bet he might know. >> >> Alex, Jon Payne works with me at the mHealth Alliance. Way more tech >> saavy than me! (I believe you also spoke on the phone with each other about >> the Standards and Interoperability study he just completed) >> >> Bill >> On Jan 7, 2013, at 8:59 AM, Jonathan Payne wrote: >> >> > Hi all, >> > >> > I'm developing an Android ODK app on a tablet and would like to put >> multiple questions on a single screen--is this possible? >> > >> > Thanks! >> > Jon >> > >> > -- >> > Jonathan Payne, MS >> > 615.579.5413 >> > skype: jonathandavidpayne >> >> >

Hi Cindy,

Since this thread we have released a type of group called a Question List
so it is no longer necessary to edit the XML. If you put questions in a
Question List (or change an existing normal group to a question list) all
of the questions should show on one screen.

The option is in the form builder:

[image: Inline image 1]

Hope this helps,

Jeremy

··· On Tue, Jul 5, 2016 at 4:28 PM, Cindy Walter wrote:

I'm a new user, trying to do the same thing - display several questions in
a form on a single screen. I added the appearance statement into the XML
for the form so that it looks like this:

<h:body>


It has no affect when I deploy it on my Samsung tablet. Did I add the
statement incorrectly? Or are there other settings I need to be aware of
for deploying to a tablet?

Thanks,

Cindy Walter

On Monday, January 7, 2013 at 12:41:22 PM UTC-6, Clayton Sims wrote:

Hi Jon!

This is definitely possible.

It's a bit rough around the edges still (there's no UI configuration for
it in the HQ form designer), but if you place a number of questions into a
group in the designer, then edit the XML by hand you can add

appearance="field-list"

To the tag, which will make that group display as one page on any
platforms in which that is supported (like CommCare ODK).

-Clayton

On Mon, Jan 7, 2013 at 10:14 AM, William C. Philbrick <wcphi...@gmail.com wrote:

Hey Jon-

Ask my friend Alex Pavluck at the Task Force for Global Health (whom I
am copying). I bet he might know.

Alex, Jon Payne works with me at the mHealth Alliance. Way more tech
saavy than me! (I believe you also spoke on the phone with each other about
the Standards and Interoperability study he just completed)

Bill
On Jan 7, 2013, at 8:59 AM, Jonathan Payne wrote:

Hi all,

I'm developing an Android ODK app on a tablet and would like to put
multiple questions on a single screen--is this possible?

Thanks!
Jon

--
Jonathan Payne, MS
615.579.5413
skype: jonathandavidpayne

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Jeremy Wacksman
Dimagi http://www.dimagi.com, Inc.

Hi Clayton,

I'm running into an issue with CommCare where I have identified my question appearance to be "field-list" to enable me to view multiple questions on groups in one screen. However, when I import this my XML file (converted from XLSform), this appearance attribute (and I am seeing also other appearance attributes) do not work. Do you have any idea why this might be? Here is a screen shot of my XLSform for your reference.

Thanks for your help in advance!

Soha

It actually seems that all the appearance attributes I've set are not showing up on CommCare. Could this have something to do with the way the row headers are formatted (i.e. with shading)? It has previously worked for me without the shading but I wanted to keep that as it makes it easier to see where my groups begin.

Clayton, I figured out the issue. Apologies for that. Silly mistake on my part! I was uploading the version of the XLSform that had the attributes column hidden. Apologies for the numerous posts on this!

Thanks,
Soha

No problem at all, glad to hear everything was resolved!

-Clayton