Assign value based on logic

Couldn’t find anything on the ODK forums. I’m not trying to skip a
question, but trying to figure out how to give a value to a variable based
on a previous question.

Select one status

            Working

            Intermittent

            Not working

Input

            TV=working

            Radio=intermittent

Desired Logic

IF TV or Radio = not working, THEN Broadcast status = not working

ELSE IF TV or Radio = intermittent, THEN Broadcast status = intermittent

ELSE Broadcast status = working

Thank you.

Use calculate then assign a default value based on the results of the
calculation.

··· On Friday, February 28, 2014, Michael Stevens < michael.stevens.miis@gmail.com> wrote:

Couldn’t find anything on the ODK forums. I’m not trying to skip a
question, but trying to figure out how to give a value to a variable based
on a previous question.

Select one status

            Working

            Intermittent

            Not working

Input

            TV=working

            Radio=intermittent

Desired Logic

IF TV or Radio = not working, THEN Broadcast status = not working

ELSE IF TV or Radio = intermittent, THEN Broadcast status = intermittent

ELSE Broadcast status = working

Thank you.

--

Post: opendatakit@googlegroups.com<javascript:_e(%7B%7D,'cvml','opendatakit@googlegroups.com');>
Unsubscribe: opendatakit+unsubscribe@googlegroups.com<javascript:_e(%7B%7D,'cvml','opendatakit%2Bunsubscribe@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<javascript:_e(%7B%7D,'cvml','opendatakit%2Bunsubscribe@googlegroups.com');>
.
For more options, visit https://groups.google.com/groups/opt_out.

--

Nik
Need help customizing Survey Instruments/Tools/Forms for ODK Collect? Drop
me an email.