Store calculated value in an input (text or numeric) so its editable?

Hi,

I have and ODK XLS where I capture three variables X, Y and Total. I need
the value total to be the sum of X and Y but allow users to also edit it. I
tried with default value but in another post this is not possible. Any
other ideas?

Thanks,
Carlos.

Carlos,

We've made such dynamic defaults possible in SurveyCTO, but it's "out of
spec" and not presently supported in ODK more generally.

As an alternative, you could just show the calculated total and say "enter
a different total or leave blank if this one is okay." Then you could have
a calculate field like:

if(string-length(${entered_field}) > 0, ${entered_field},
${calculated_field})

Best,

Chris

ยทยทยท On Fri, Oct 17, 2014 at 10:31 AM, QLands Software <qlands.software@gmail.com wrote:

Hi,

I have and ODK XLS where I capture three variables X, Y and Total. I need
the value total to be the sum of X and Y but allow users to also edit it. I
tried with default value but in another post this is not possible. Any
other ideas?

Thanks,
Carlos.

--

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.