Referring to a previous answer

Hi,

I want to be able to refer to a previous answer from a question. For
example,

1)What pet do you own?
a)dog
b)cat

  1. How old is your (Question 1's answer) ?

Is this possible using ODK?

Thank You,

Sanjeev

I've seen this done in openXdata with a form made in purcforms form
designer. I don't know how ODK parses it though.

The label for the field is "Is ${/patientreg/lastname}$ pregnant?"

"patientreg" is the form binding.

Best,

Bird

··· On Mon, Sep 26, 2011 at 1:53 PM, Sanjeev Swamy wrote:

Hi,

I want to be able to refer to a previous answer from a question. For
example,

1)What pet do you own?
a)dog
b)cat

  1. How old is your (Question 1's answer) ?

Is this possible using ODK?

Thank You,

Sanjeev

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

yup. the xml should look something like this...

your name is
··· On Tue, Sep 27, 2011 at 00:23, Sarah Bird wrote: > I've seen this done in openXdata with a form made in purcforms form > designer. I don't know how ODK parses it though. > The label for the field is "Is ${/patientreg/lastname}$ pregnant?" > "patientreg" is the form binding. > > Best, > Bird > > On Mon, Sep 26, 2011 at 1:53 PM, Sanjeev Swamy wrote: >> >> Hi, >> >> I want to be able to refer to a previous answer from a question. For >> example, >> >> 1)What pet do you own? >> a)dog >> b)cat >> >> 2) How old is your (Question 1's answer) ? >> >> Is this possible using ODK? >> >> >> Thank You, >> >> Sanjeev >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >