Does XLSForm support dynamic labels?

Hi,

I am trying to create a label which depends on choices in a select_multiple.
I have tried the calculation approach as described by Yaw here:
https://groups.google.com/forum/#!searchin/opendatakit/dynamic$20label/opendatakit/k57iT-LzESg/6_1V0hF45aAJ

I am using XLSForm for this, and have placed something like this in the
label column: This person's dude status is ${dude_status}

The problem is that the label displays as "This person's dude status is
${dude_status} " without substituting the calculated value.

Does XLSForm process ${ } parameters in the label column?

Thanks,
Andrew

Update: This does work on a basic example such as the one provided. My
current form uses a more complex calculation and that might be where the
problem lies - I need to check whether the calculation is evaluating
properly.

··· On Thursday, 18 June 2015 11:57:19 UTC+2, Andrew wrote: > > Hi, > > I am trying to create a label which depends on choices in a > select_multiple. > I have tried the calculation approach as described by Yaw here: > > https://groups.google.com/forum/#!searchin/opendatakit/dynamic$20label/opendatakit/k57iT-LzESg/6_1V0hF45aAJ > > I am using XLSForm for this, and have placed something like this in the > label column: This person's dude status is ${dude_status} > > The problem is that the label displays as "This person's dude status is > ${dude_status} " without substituting the calculated value. > > Does XLSForm process ${ } parameters in the label column? > > Thanks, > Andrew > >

Found my bug - posting this for anyone else who runs into this "problem":

Make sure you use curly braces ${xx} and not round braces $(xx) -
round braces will not be parsed or replaced!!!! :o)

··· On Thursday, 18 June 2015 12:14:18 UTC+2, Andrew wrote: > > Update: This does work on a basic example such as the one provided. My > current form uses a more complex calculation and that might be where the > problem lies - I need to check whether the calculation is evaluating > properly. > > On Thursday, 18 June 2015 11:57:19 UTC+2, Andrew wrote: >> >> Hi, >> >> I am trying to create a label which depends on choices in a >> select_multiple. >> I have tried the calculation approach as described by Yaw here: >> >> https://groups.google.com/forum/#!searchin/opendatakit/dynamic$20label/opendatakit/k57iT-LzESg/6_1V0hF45aAJ >> >> I am using XLSForm for this, and have placed something like this in the >> label column: This person's dude status is ${dude_status} >> >> The problem is that the label displays as "This person's dude status is >> ${dude_status} " without substituting the calculated value. >> >> Does XLSForm process ${ } parameters in the label column? >> >> Thanks, >> Andrew >> >>