Concatenate hidden variable in a repeating group of questions

hi there,

I have tried to concatenate a group of questions which appear in a
repeating section and keep getting an error.

Does this mean that concat doesn’t work in a repeating group of questions?

Cheers,
Jess

the code suggests this should work. can you paste your xpath expression?

··· On Sun, Jan 12, 2014 at 7:47 PM, Jessica Hall wrote:

hi there,

I have tried to concatenate a group of questions which appear in a
repeating section and keep getting an error.

Does this mean that concat doesn’t work in a repeating group of questions?

Cheers,
Jess


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

concat(/Household_list/hl0/dob_gr/hl5_d,’/’,/Household_list/hl0/dob_gr/hl5_m,’/’,/Household_list/hl0/dob_gr/hl5_y)

··· On 13/01/2014, at 12:50 AM, Drew Roos wrote:

the code suggests this should work. can you paste your xpath expression?

On Sun, Jan 12, 2014 at 7:47 PM, Jessica Hall jhal2920@gmail.com wrote:
hi there,

I have tried to concatenate a group of questions which appear in a repeating section and keep getting an error.

Does this mean that concat doesn’t work in a repeating group of questions?

Cheers,
Jess


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to a topic in the Google Groups “commcare-users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/commcare-users/diXoiH54uxA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

oh, you’re running this inside each repeat, not trying to concatenate the
same question from all repeats into one? (not that that should affect the
outcome; they both should work). what is the error you’re getting? and what
is the repeating node?

··· On Sun, Jan 12, 2014 at 7:56 PM, Jessica Hall wrote:

concat(/Household_list/hl0/dob_gr/hl5_d,’/’,/Household_list/hl0/dob_gr/hl5_m,’/’,/Household_list/hl0/dob_gr/hl5_y)

On 13/01/2014, at 12:50 AM, Drew Roos droos@dimagi.com wrote:

the code suggests this should work. can you paste your xpath expression?

On Sun, Jan 12, 2014 at 7:47 PM, Jessica Hall jhal2920@gmail.com wrote:

hi there,

I have tried to concatenate a group of questions which appear in a
repeating section and keep getting an error.

Does this mean that concat doesn’t work in a repeating group of questions?

Cheers,
Jess


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to a topic in the
Google Groups “commcare-users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/commcare-users/diXoiH54uxA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
commcare-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

sorry i don’t know what you mean by ‘node’?

anyway i just found this in commcare help site……. NOTE: at present you cannot put a hidden value inside of a repeat group; therefore it is not possible to do calculations per repeat group, only outside of repeat groups.

bummer!

··· On 13/01/2014, at 1:21 AM, Drew Roos wrote:

oh, you’re running this inside each repeat, not trying to concatenate the same question from all repeats into one? (not that that should affect the outcome; they both should work). what is the error you’re getting? and what is the repeating node?

On Sun, Jan 12, 2014 at 7:56 PM, Jessica Hall jhal2920@gmail.com wrote:
concat(/Household_list/hl0/dob_gr/hl5_d,’/’,/Household_list/hl0/dob_gr/hl5_m,’/’,/Household_list/hl0/dob_gr/hl5_y)

On 13/01/2014, at 12:50 AM, Drew Roos droos@dimagi.com wrote:

the code suggests this should work. can you paste your xpath expression?

On Sun, Jan 12, 2014 at 7:47 PM, Jessica Hall jhal2920@gmail.com wrote:
hi there,

I have tried to concatenate a group of questions which appear in a repeating section and keep getting an error.

Does this mean that concat doesn’t work in a repeating group of questions?

Cheers,
Jess


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to a topic in the Google Groups “commcare-users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/commcare-users/diXoiH54uxA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to commcare-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to a topic in the Google Groups “commcare-users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/commcare-users/diXoiH54uxA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.