Prevent back swipe for individual questions

Hi,

Is there a way to prevent a data collector from swiping backwards for individual questions? For example, I don't want the data collector to go back to a previous question if it was entered incorrectly, but this should only be relevant for specific questions, not all questions.

Help?

Cheers,

  • Nikhil

I assume this is a question about ODK Collect.

No, there is no way to forbid going back to a previous question.

··· On Mon, Jul 20, 2015 at 5:12 AM, wrote:

Hi,

Is there a way to prevent a data collector from swiping backwards for
individual questions? For example, I don't want the data collector to go
back to a previous question if it was entered incorrectly, but this should
only be relevant for specific questions, not all questions.

Help?

Cheers,

  • Nikhil

--

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/d/optout.

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

Hi Nikhil,

I've got a very early fork of Collect that can prevent backward motion
on a per question level.

If this is important feature to get into trunk, shoot me an email and
we can figure out how best to make it happen.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, Jul 20, 2015 at 12:29 PM, Mitch Sundt mitchellsundt@gmail.com wrote:

I assume this is a question about ODK Collect.

No, there is no way to forbid going back to a previous question.

On Mon, Jul 20, 2015 at 5:12 AM, nikhil.patil@ehealthnigeria.org wrote:

Hi,

Is there a way to prevent a data collector from swiping backwards for
individual questions? For example, I don't want the data collector to go
back to a previous question if it was entered incorrectly, but this should
only be relevant for specific questions, not all questions.

Help?

Cheers,

  • Nikhil

--

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/d/optout.

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

--

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/d/optout.

Hi Yaw/Nikhil,

I'm working with the Kerala Police, India on a training project that
involves the use of ODK. Has this issue of preventing swipe back been
resolved? is there a way to achieve this at a question level? Might this be
an addition to 'appearance' attributes?

Thanks in advance,
Jaideep.

··· On Monday, July 20, 2015 at 6:53:48 PM UTC+1, Yaw Anokwa wrote: > > Hi Nikhil, > > I've got a very early fork of Collect that can prevent backward motion > on a per question level. > > If this is important feature to get into trunk, shoot me an email and > we can figure out how best to make it happen. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Mon, Jul 20, 2015 at 12:29 PM, Mitch Sundt <mitche...@gmail.com > wrote: > > I assume this is a question about ODK Collect. > > > > No, there is no way to forbid going back to a previous question. > > > > On Mon, Jul 20, 2015 at 5:12 AM, <nikhil...@ehealthnigeria.org > wrote: > >> > >> Hi, > >> > >> Is there a way to prevent a data collector from swiping backwards for > >> individual questions? For example, I don't want the data collector to > go > >> back to a previous question if it was entered incorrectly, but this > should > >> only be relevant for specific questions, not all questions. > >> > >> Help? > >> > >> Cheers, > >> - Nikhil > >> > >> -- > >> -- > >> Post: opend...@googlegroups.com > >> Unsubscribe: opendatakit...@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...@googlegroups.com . > >> For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > -- > > Mitch Sundt > > Software Engineer > > University of Washington > > mitche...@gmail.com > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@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...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Note that the hierarchy view, which allows you to arbitrarily jump around
the form, would also be problematic. This is not part of the core ODK
distribution, and would be extremely difficult to implement in any
consistent manner.

If the intent is to capture the initial answer, you can do this with a
calculated field:

fieldA -- prompt asking for user-supplied answer

firstAnswerFieldA -- calculated field using the formula: once(${fieldA})

This formula will store the first non-empty answer entered into fieldA.

Users can go back and change their fieldA answer, but it would not alter
the value of ${firstAnswerFieldA}

Your analysis would then use firstAnswerFieldA

··· On Tue, Jan 5, 2016 at 11:00 AM, Jaideep Gupte wrote:

Hi Yaw/Nikhil,

I'm working with the Kerala Police, India on a training project that
involves the use of ODK. Has this issue of preventing swipe back been
resolved? is there a way to achieve this at a question level? Might this be
an addition to 'appearance' attributes?

Thanks in advance,
Jaideep.

On Monday, July 20, 2015 at 6:53:48 PM UTC+1, Yaw Anokwa wrote:

Hi Nikhil,

I've got a very early fork of Collect that can prevent backward motion
on a per question level.

If this is important feature to get into trunk, shoot me an email and
we can figure out how best to make it happen.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Mon, Jul 20, 2015 at 12:29 PM, Mitch Sundt mitche...@gmail.com wrote:

I assume this is a question about ODK Collect.

No, there is no way to forbid going back to a previous question.

On Mon, Jul 20, 2015 at 5:12 AM, nikhil...@ehealthnigeria.org wrote:

Hi,

Is there a way to prevent a data collector from swiping backwards for
individual questions? For example, I don't want the data collector to
go
back to a previous question if it was entered incorrectly, but this
should
only be relevant for specific questions, not all questions.

Help?

Cheers,

  • Nikhil

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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/d/optout.

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

Jaideep,

Preventing backward motion is possible, but requires a fair bit of
code change. If this is important feature for you, shoot me an email
off-list, and we can figure out how best to make it happen.

Thanks,

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Tue, Jan 5, 2016 at 2:34 PM, Mitch Sundt mitchellsundt@gmail.com wrote:

Note that the hierarchy view, which allows you to arbitrarily jump around
the form, would also be problematic. This is not part of the core ODK
distribution, and would be extremely difficult to implement in any
consistent manner.

If the intent is to capture the initial answer, you can do this with a
calculated field:

fieldA -- prompt asking for user-supplied answer

firstAnswerFieldA -- calculated field using the formula: once(${fieldA})

This formula will store the first non-empty answer entered into fieldA.

Users can go back and change their fieldA answer, but it would not alter the
value of ${firstAnswerFieldA}

Your analysis would then use firstAnswerFieldA

On Tue, Jan 5, 2016 at 11:00 AM, Jaideep Gupte jaideep.gupte@gmail.com wrote:

Hi Yaw/Nikhil,

I'm working with the Kerala Police, India on a training project that
involves the use of ODK. Has this issue of preventing swipe back been
resolved? is there a way to achieve this at a question level? Might this be
an addition to 'appearance' attributes?

Thanks in advance,
Jaideep.

On Monday, July 20, 2015 at 6:53:48 PM UTC+1, Yaw Anokwa wrote:

Hi Nikhil,

I've got a very early fork of Collect that can prevent backward motion
on a per question level.

If this is important feature to get into trunk, shoot me an email and
we can figure out how best to make it happen.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Mon, Jul 20, 2015 at 12:29 PM, Mitch Sundt mitche...@gmail.com wrote:

I assume this is a question about ODK Collect.

No, there is no way to forbid going back to a previous question.

On Mon, Jul 20, 2015 at 5:12 AM, nikhil...@ehealthnigeria.org wrote:

Hi,

Is there a way to prevent a data collector from swiping backwards for
individual questions? For example, I don't want the data collector to
go
back to a previous question if it was entered incorrectly, but this
should
only be relevant for specific questions, not all questions.

Help?

Cheers,

  • Nikhil

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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/d/optout.

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

--

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/d/optout.