Collect GPS location from Grid Icons

Hello,

I have created a form with a grid of icons like the attached image
device-2012-02-09-174110.png. I was wandering if it possible:

  1. When you click one of the icons, to collect the gps location and save
    the form.
    for example if we have 4 icons, a school, a church, a house and a
    hospital and the
    user press the hospital icon, I would like to collect the gps location
    and save the form.
  2. When an icon is pressed and the location is collected the form should
    be saved without
    asking the user and then if it is possible for the form to run again,
    without the user having
    to go to "Fill Blank Form" and then select my form.
  3. Is it possible to remove the first stage at the form where it writes
    "You are at the start of
    "Form name". Swipe the screen as shown below to begin" (attached image
    device-2012-02-09-174110.png)?

Thanks in advance.

My regards,

Michalis

Michalis,

  1. Yes. You can do this. You can put a location prompt after the grid
    prompt. If you'll have other icons that you don't want to collect
    location for, then you'll need to make that location prompt relevant
    (also known as branching) for certain grid choices (school, church,
    house, etc). You can find examples of how to use relevance at
    http://opendatakit.org/help/form-design/binding/

  2. The easiest way to accomplish this is to make a form short cut. You
    can put the short cut on the home screen of your phone and it will
    link directly to that form. Carl describes how to do this at
    https://groups.google.com/d/msg/opendatakit/RWFZJkTrVxU/FsUljeBGIGEJ

  3. Currently, no. You need a programmer to edit that code. If this is
    something that you want configurable. File a feature request at
    code.google.com/p/opendatakit/issues/list.

Yaw

··· On Thu, Feb 9, 2012 at 09:43, Michalis wrote: > Hello, > > I have created a form with a grid of icons like the attached image > device-2012-02-09-174110.png. I was wandering if it possible: > > When you click one of the icons, to collect the gps location and save the > form. > for example if we have 4 icons, a school, a church, a house and a hospital > and the > user press the hospital icon, I would like to collect the gps location and > save the form. > When an icon is pressed and the location is collected the form should be > saved without > asking the user and then if it is possible for the form to run again, > without the user having > to go to "Fill Blank Form" and then select my form. > Is it possible to remove the first stage at the form where it writes "You > are at the start of > "Form name". Swipe the screen as shown below to begin" (attached image > device-2012-02-09-174110.png)? > > Thanks in advance. > > My regards, > > Michalis > > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

how did you create the grid?

To create the grid, use a select_one question with a compact appearance. If you need a fixed number of columns (say 4), you can use compact-4.

I figured this out by looking at https://opendatakit.org/help/form-design/examples.

Thanks Yaw!

Next question, what is the proper way to format a chain of questions under
each of those parameters?

Not sure what you mean by under, but if you want certain questions to appear on the next screen when an item has been selected, use relevance.