Use previously answers

Hi

I have a form asking several times (repeat) for

  • Holes
    • Run

(1 hole can have several run and it is possibe to have several holes)

Then I would like to have the list of holes (defined previously) to appear in a next question :
Q: Choose the hole :
- H1
- H2 …

Hope to be enough clear

Thanks for any tips to do that

Cheers

Karim

Hi Karim,
You can include responses to a previous question by referencing its unique name in another question’s label, e.g. “Please confirm that you are really ${age} years old.” For more details see here: http://support.kobotoolbox.org/customer/portal/articles/1656634-include-responses-inside-another-question

For referencing repeat group values it will be easier if you could send your sample form as an XLS, indicating which text or value you want to reference where exactly.

Best,

Tino

···

On Tue, May 26, 2015 at 4:40 PM karim bernardet karim.b...@gmail.com wrote:

Hi

I have a form asking several times (repeat) for

  • Holes
    • Run

(1 hole can have several run and it is possibe to have several holes)

Then I would like to have the list of holes (defined previously) to appear in a next question :
Q: Choose the hole :
- H1
- H2 …

Hope to be enough clear

Thanks for any tips to do that

Cheers

Karim

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

Hi Tino

I have attached the xls file produced by kobotoolbox.
In the section repeat group (group_si3mn63), I would like to have the list of the name of Trou (group_oy8am21)
Dont know if it is possible to do that ?
I have tried to put ${Nom_trou} (“no success”)

Thanks

Karim

RM3.xls (9.5 KB)

···

Le mardi 26 mai 2015 23:27:02 UTC+2, Tino Kreutzer a écrit :

Hi Karim,
You can include responses to a previous question by referencing its unique name in another question’s label, e.g. “Please confirm that you are really ${age} years old.” For more details see here: http://support.kobotoolbox.org/customer/portal/articles/1656634-include-responses-inside-another-question

For referencing repeat group values it will be easier if you could send your sample form as an XLS, indicating which text or value you want to reference where exactly.

Best,

Tino

On Tue, May 26, 2015 at 4:40 PM karim bernardet karim...@gmail.com wrote:

Hi

I have a form asking several times (repeat) for

  • Holes
    • Run

(1 hole can have several run and it is possibe to have several holes)

Then I would like to have the list of holes (defined previously) to appear in a next question :
Q: Choose the hole :
- H1
- H2 …

Hope to be enough clear

Thanks for any tips to do that

Cheers

Karim

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

Hi Karim,

I checked your file and the reason you weren’t seeing the output from ${Nom_trou} in the option label of Trou was that you had created skip logic that would only show you one of the two questions, but not both. This means that referencing the question wasn’t a problem - you were just never displaying them together, allowing to respond to both.

When you remove the skip logic to group_oy8am21 then you will be able to first enter a response to Nom_trou, which then shows up as the label of the first response of Trou. See attachment.

I’d recommend not using multiple nested repeat groups; in your form it seems that Section and Trou should be independent of each other, but right now one is a sub repeat of the other for some reason.

Best,

Tino

RM3.xls (58 KB)

···

On Wed, May 27, 2015 at 9:22 AM, karim bernardet karim.b...@gmail.com wrote:

Hi Tino

I have attached the xls file produced by kobotoolbox.
In the section repeat group (group_si3mn63), I would like to have the list of the name of Trou (group_oy8am21)
Dont know if it is possible to do that ?
I have tried to put ${Nom_trou} (“no success”)

Thanks

Karim

Le mardi 26 mai 2015 23:27:02 UTC+2, Tino Kreutzer a écrit :

Hi Karim,
You can include responses to a previous question by referencing its unique name in another question’s label, e.g. “Please confirm that you are really ${age} years old.” For more details see here: http://support.kobotoolbox.org/customer/portal/articles/1656634-include-responses-inside-another-question

For referencing repeat group values it will be easier if you could send your sample form as an XLS, indicating which text or value you want to reference where exactly.

Best,

Tino

On Tue, May 26, 2015 at 4:40 PM karim bernardet karim...@gmail.com wrote:

Hi

I have a form asking several times (repeat) for

  • Holes
    • Run

(1 hole can have several run and it is possibe to have several holes)

Then I would like to have the list of holes (defined previously) to appear in a next question :
Q: Choose the hole :
- H1
- H2 …

Hope to be enough clear

Thanks for any tips to do that

Cheers

Karim

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-us...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

Hi

Got it with indexed-repeat

Cheers

Karim

···

Le lundi 8 juin 2015 10:02:59 UTC+2, Tino Kreutzer a écrit :

Hi Karim,

I checked your file and the reason you weren’t seeing the output from ${Nom_trou} in the option label of Trou was that you had created skip logic that would only show you one of the two questions, but not both. This means that referencing the question wasn’t a problem - you were just never displaying them together, allowing to respond to both.

When you remove the skip logic to group_oy8am21 then you will be able to first enter a response to Nom_trou, which then shows up as the label of the first response of Trou. See attachment.

I’d recommend not using multiple nested repeat groups; in your form it seems that Section and Trou should be independent of each other, but right now one is a sub repeat of the other for some reason.

Best,

Tino

On Wed, May 27, 2015 at 9:22 AM, karim bernardet karim...@gmail.com wrote:

Hi Tino

I have attached the xls file produced by kobotoolbox.
In the section repeat group (group_si3mn63), I would like to have the list of the name of Trou (group_oy8am21)
Dont know if it is possible to do that ?
I have tried to put ${Nom_trou} (“no success”)

Thanks

Karim

Le mardi 26 mai 2015 23:27:02 UTC+2, Tino Kreutzer a écrit :

Hi Karim,
You can include responses to a previous question by referencing its unique name in another question’s label, e.g. “Please confirm that you are really ${age} years old.” For more details see here: http://support.kobotoolbox.org/customer/portal/articles/1656634-include-responses-inside-another-question

For referencing repeat group values it will be easier if you could send your sample form as an XLS, indicating which text or value you want to reference where exactly.

Best,

Tino

On Tue, May 26, 2015 at 4:40 PM karim bernardet karim...@gmail.com wrote:

Hi

I have a form asking several times (repeat) for

  • Holes
    • Run

(1 hole can have several run and it is possibe to have several holes)

Then I would like to have the list of holes (defined previously) to appear in a next question :
Q: Choose the hole :
- H1
- H2 …

Hope to be enough clear

Thanks for any tips to do that

Cheers

Karim

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

nope

it just work for one repeat

_test _test

if 2 holes, there is the error attached

rm_v2.xml (21.7 KB)

···

Le lundi 8 juin 2015 23:32:08 UTC+2, karim bernardet a écrit :

Hi

Got it with indexed-repeat

Cheers

Karim

Le lundi 8 juin 2015 10:02:59 UTC+2, Tino Kreutzer a écrit :

Hi Karim,

I checked your file and the reason you weren’t seeing the output from ${Nom_trou} in the option label of Trou was that you had created skip logic that would only show you one of the two questions, but not both. This means that referencing the question wasn’t a problem - you were just never displaying them together, allowing to respond to both.

When you remove the skip logic to group_oy8am21 then you will be able to first enter a response to Nom_trou, which then shows up as the label of the first response of Trou. See attachment.

I’d recommend not using multiple nested repeat groups; in your form it seems that Section and Trou should be independent of each other, but right now one is a sub repeat of the other for some reason.

Best,

Tino

On Wed, May 27, 2015 at 9:22 AM, karim bernardet karim...@gmail.com wrote:

Hi Tino

I have attached the xls file produced by kobotoolbox.
In the section repeat group (group_si3mn63), I would like to have the list of the name of Trou (group_oy8am21)
Dont know if it is possible to do that ?
I have tried to put ${Nom_trou} (“no success”)

Thanks

Karim

Le mardi 26 mai 2015 23:27:02 UTC+2, Tino Kreutzer a écrit :

Hi Karim,
You can include responses to a previous question by referencing its unique name in another question’s label, e.g. “Please confirm that you are really ${age} years old.” For more details see here: http://support.kobotoolbox.org/customer/portal/articles/1656634-include-responses-inside-another-question

For referencing repeat group values it will be easier if you could send your sample form as an XLS, indicating which text or value you want to reference where exactly.

Best,

Tino

On Tue, May 26, 2015 at 4:40 PM karim bernardet karim...@gmail.com wrote:

Hi

I have a form asking several times (repeat) for

  • Holes
    • Run

(1 hole can have several run and it is possibe to have several holes)

Then I would like to have the list of holes (defined previously) to appear in a next question :
Q: Choose the hole :
- H1
- H2 …

Hope to be enough clear

Thanks for any tips to do that

Cheers

Karim

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

Hi Karim, can you send us the XLSForm file so we can debug?

Thanks,

Tino

···

On Tue, Jun 9, 2015, 16:16 karim bernardet karim.b...@gmail.com wrote:

nope

it just work for one repeat

_test _test

if 2 holes, there is the error attached

Le lundi 8 juin 2015 23:32:08 UTC+2, karim bernardet a écrit :

Hi

Got it with indexed-repeat

Cheers

Karim

Le lundi 8 juin 2015 10:02:59 UTC+2, Tino Kreutzer a écrit :

Hi Karim,

I checked your file and the reason you weren’t seeing the output from ${Nom_trou} in the option label of Trou was that you had created skip logic that would only show you one of the two questions, but not both. This means that referencing the question wasn’t a problem - you were just never displaying them together, allowing to respond to both.

When you remove the skip logic to group_oy8am21 then you will be able to first enter a response to Nom_trou, which then shows up as the label of the first response of Trou. See attachment.

I’d recommend not using multiple nested repeat groups; in your form it seems that Section and Trou should be independent of each other, but right now one is a sub repeat of the other for some reason.

Best,

Tino

On Wed, May 27, 2015 at 9:22 AM, karim bernardet karim...@gmail.com wrote:

Hi Tino

I have attached the xls file produced by kobotoolbox.
In the section repeat group (group_si3mn63), I would like to have the list of the name of Trou (group_oy8am21)
Dont know if it is possible to do that ?
I have tried to put ${Nom_trou} (“no success”)

Thanks

Karim

Le mardi 26 mai 2015 23:27:02 UTC+2, Tino Kreutzer a écrit :

Hi Karim,
You can include responses to a previous question by referencing its unique name in another question’s label, e.g. “Please confirm that you are really ${age} years old.” For more details see here: http://support.kobotoolbox.org/customer/portal/articles/1656634-include-responses-inside-another-question

For referencing repeat group values it will be easier if you could send your sample form as an XLS, indicating which text or value you want to reference where exactly.

Best,

Tino

On Tue, May 26, 2015 at 4:40 PM karim bernardet karim...@gmail.com wrote:

Hi

I have a form asking several times (repeat) for

  • Holes
    • Run

(1 hole can have several run and it is possibe to have several holes)

Then I would like to have the list of holes (defined previously) to appear in a next question :
Q: Choose the hole :
- H1
- H2 …

Hope to be enough clear

Thanks for any tips to do that

Cheers

Karim

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-us...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-us...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at http://groups.google.com/group/kobo-users.

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

Got it to work finally
(see xml file attached)

Cheers

Karim

kk3.xml (3.03 KB)

···

Le mardi 26 mai 2015 22:40:00 UTC+2, karim bernardet a écrit :

Hi

I have a form asking several times (repeat) for

  • Holes
    • Run

(1 hole can have several run and it is possibe to have several holes)

Then I would like to have the list of holes (defined previously) to appear in a next question :
Q: Choose the hole :
- H1
- H2 …

Hope to be enough clear

Thanks for any tips to do that

Cheers

Karim