Enketo/ODK

How to prevent survey users (participants) to go back to the previous
question if it is filled/responded?

Hi Swapnil,

This feature is not supported. Something similar was brought up before as a
desired way to "commit" an individual answer in psychological surveys (i.e.
make it ineditable, which would perhaps meet your requirements) but there
are no plans to support this.

If the demand for such a feature is high and there is funding, I would be
interested in discussing its possible implementation as a special 'mode'
(like pages mode).

Cheers,
Martijn

··· On Thursday, December 25, 2014 1:10:13 PM UTC-7, Swapnil Agarwal wrote: > > How to prevent survey users (participants) to go back to the previous > question if it is filled/responded? >

--

Revolutionizing data collection since 2012.

Enketo https://enketo.org/ | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/enketo | Twitter https://twitter.com/enketo
| Blog http://blog.enketo.org/

You can actually do this with ODK using a calculated field with the once()
function:

fieldA string label: "Enter your name"

firstEntryFieldA string calculate: "once(${fieldA})"

The firstEntryFieldA would be assigned the moment a value is set in fieldA,
and, from that point onward, would be immutable.

fieldA continues to be editable, but any subsequent edits do not cause
firstEntryFieldA to change.

The caveat here is that you cannot supply a default value for fieldA -- it
has to start as null (blank) in order for this to work.

In your data analysis, you would ignore the value of fieldA, and use
instead the value of firstEntryFieldA

··· On Fri, Dec 26, 2014 at 7:33 AM, Martijn van de Rijdt wrote:

Hi Swapnil,

This feature is not supported. Something similar was brought up before as
a desired way to "commit" an individual answer in psychological surveys
(i.e. make it ineditable, which would perhaps meet your requirements) but
there are no plans to support this.

If the demand for such a feature is high and there is funding, I would be
interested in discussing its possible implementation as a special 'mode'
(like pages mode).

Cheers,
Martijn

On Thursday, December 25, 2014 1:10:13 PM UTC-7, Swapnil Agarwal wrote:

How to prevent survey users (participants) to go back to the previous
question if it is filled/responded?

--
Revolutionizing data collection since 2012.

Enketo https://enketo.org/ | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/enketo | Twitter https://twitter.com/enketo
| Blog http://blog.enketo.org/

--

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

Ah, very interesting workaround!

Yes, that technique would work in Enketo too with the same limitations as
Mitch mentioned.

··· On Tue, Jan 6, 2015 at 6:56 PM, Mitch Sundt wrote:

You can actually do this with ODK using a calculated field with the once()
function:

fieldA string label: "Enter your name"

firstEntryFieldA string calculate: "once(${fieldA})"

The firstEntryFieldA would be assigned the moment a value is set in
fieldA, and, from that point onward, would be immutable.

fieldA continues to be editable, but any subsequent edits do not cause
firstEntryFieldA to change.

The caveat here is that you cannot supply a default value for fieldA -- it
has to start as null (blank) in order for this to work.

In your data analysis, you would ignore the value of fieldA, and use
instead the value of firstEntryFieldA

On Fri, Dec 26, 2014 at 7:33 AM, Martijn van de Rijdt martijn@enketo.org wrote:

Hi Swapnil,

This feature is not supported. Something similar was brought up before as
a desired way to "commit" an individual answer in psychological surveys
(i.e. make it ineditable, which would perhaps meet your requirements) but
there are no plans to support this.

If the demand for such a feature is high and there is funding, I would be
interested in discussing its possible implementation as a special 'mode'
(like pages mode).

Cheers,
Martijn

On Thursday, December 25, 2014 1:10:13 PM UTC-7, Swapnil Agarwal wrote:

How to prevent survey users (participants) to go back to the previous
question if it is filled/responded?

--
Revolutionizing data collection since 2012.

Enketo https://enketo.org/ | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/enketo | Twitter https://twitter.com/enketo
| Blog http://blog.enketo.org/

--

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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/IirAxGvE89E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Revolutionizing data collection since 2012.

Enketo https://enketo.org/ | LinkedIn
http://www.linkedin.com/company/enketo-llc | GitHub
https://github.com/enketo | Twitter https://twitter.com/enketo
| Blog http://blog.enketo.org/