I am new to Kobo and I am writing a survey related to buildings. I
want a question which asks how many floors the building contains, and
then from there depending on the value given for the answer it will
then ask what the usage of each floor is in a separate question.
For Example.....
Q: How many floors are there?
Q: What is the usage on the 1st floor?
a.
b.
c.
Q: What is the usage on the 2rd floor?
a.
b.
c.
Q: What is the usage on the 3rd floor?
a.
b.
c.
If the answer was 4 floors then there would be this question 4 times.
I get that I would write a separate question for each floor, or could
Add Data Instance do this? I am just not sure what my options are, and
how exactly it works. If anyone could help me that would be very
appreciated.
Sincerely,
Dustin
Good question, many people want to use a feature where a set of questions are repeated for each member of a household, or in your case, for each floor of a building.
You can create repeats that do this, but the user has to determine the number of repeats. In this case, you can’t ask the user “How many floors?” and then use that response to ask questions about each floor in turn. You CAN, however, ask if they want to add a new floor, and then ask that set of questions, as many times as the user has floors to ask about. This is the way repeating groups of questions are handled.
You will have to edit the XML a little, we are working to include this feature in the next update of KoBoForm, which will support groups and repeats. For the moment, it will take a little editing in Notepad, but there are detailed instructions for how to do it in the User Guide.
Neil,
First off I want to say thank you for being so helpful and having a
lightning fast response time!
I have to this point tried to edit the XML code unsuccessfully, and I
think it is because of my non existent knowledge of XML programing. I
am a fast learner though and I have picked up very quickly how the
entire code system at a basic level works. I think in order for me to
get this question to happen I am going to need to see a .txt format
example of a group of single select questions within a survey set. If
this is possible I would be on Cloud 9! This program is amazing and is
truly going to push our survey to new levels of findings and
understanding. So I thank you again for your help and hopefully I will
hear from you soon or anyone else for that matter who might have a
survey example laying around with a repeating group of questions
embedded into it.
Good question, many people want to use a feature where a set of questions
are repeated for each member of a household, or in your case, for each
floor of a building.
You can create repeats that do this, but the user has to determine the
number of repeats. In this case, you can't ask the user "How many floors?"
and then use that response to ask questions about each floor in turn. You
CAN, however, ask if they want to add a new floor, and then ask that set of
questions, as many times as the user has floors to ask about. This is the
way repeating groups of questions are handled.
You will have to edit the XML a little, we are working to include this
feature in the next update of KoBoForm, which will support groups and
repeats. For the moment, it will take a little editing in Notepad, but
there are detailed instructions for how to do it in the User Guide.http://www.kobotoolbox.org/support/userguide/koboform/repeating-groups
Good luck, and let us know if you need further help with your survey. We'd
love to see the results.
~Neil Hendrick
KoBo Developer
On Tue, May 22, 2012 at 4:58 PM, Dustin <locke...@gmail.com> wrote:
> I am new to Kobo and I am writing a survey related to buildings. I
> want a question which asks how many floors the building contains, and
> then from there depending on the value given for the answer it will
> then ask what the usage of each floor is in a separate question.
> For Example.....
> Q: How many floors are there?
> A: 3
> Q: What is the usage on the 1st floor?
> a.
> b.
> c.
> Q: What is the usage on the 2rd floor?
> a.
> b.
> c.
> Q: What is the usage on the 3rd floor?
> a.
> b.
> c.
> If the answer was 4 floors then there would be this question 4 times.
> I get that I would write a separate question for each floor, or could
> Add Data Instance do this? I am just not sure what my options are, and
> how exactly it works. If anyone could help me that would be very
> appreciated.
> Sincerely,
> Dustin
I have noticed that there is a repeat feature in the question type menu along with a few other really great questions which were not there just a few days ago… I tried to use the repeat option and when I try to view text or save it it unexpectedly fails. Is this because you are currently updating the program or am I missing a step? I am still completely game to learn the XML coding for it, but this would save me so much time… You guys are awesome over there… Let me know if there is anything I may be doing wrong with these new question types…
We are working on including Groups and Repeats in the KoBo Interface. We’ll make an announcement when it’s fully functional. In the meantime, you might have a few glitches. Please feel free to share them with the group, it’s always helpful to have beta testers.
I have noticed that there is a repeat feature in the question type menu along with a few other really great questions which were not there just a few days ago… I tried to use the repeat option and when I try to view text or save it it unexpectedly fails. Is this because you are currently updating the program or am I missing a step? I am still completely game to learn the XML coding for it, but this would save me so much time… You guys are awesome over there… Let me know if there is anything I may be doing wrong with these new question types…
I have re-written from scratch a survey set, and it works flawlessly in kobo collect with two groups of repeat questions. The problem now arises when I review the csv file in excel. the repeat groups only record the data from the first repeat and it clusters both questions select1 answer into a single node within the column instead of being broken into new ones for each repeat. I included the XML file for the survey below. I tried rewriting the XML so that there was brackets around all the repeat questions while maintaining a larger , but it then asks to repeat every individual questions instead of repeating each group of questions…
How do I get each question to read in a separate excel column instead of clustering the repeat questions in a group within one column, (and only representing the first set of recorded answers?
We are working on including Groups and Repeats in the KoBo Interface. We’ll make an announcement when it’s fully functional. In the meantime, you might have a few glitches. Please feel free to share them with the group, it’s always helpful to have beta testers.
I have noticed that there is a repeat feature in the question type menu along with a few other really great questions which were not there just a few days ago… I tried to use the repeat option and when I try to view text or save it it unexpectedly fails. Is this because you are currently updating the program or am I missing a step? I am still completely game to learn the XML coding for it, but this would save me so much time… You guys are awesome over there… Let me know if there is anything I may be doing wrong with these new question types…
Neil,
I have re-written from scratch a survey set, and it works flawlessly in kobo collect with two groups of repeat questions. The problem now arises when I review the csv file in excel. the repeat groups only record the data from the first repeat and it clusters both questions select1 answer into a single node within the column instead of being broken into new ones for each repeat. I included the XML file for the survey below. I tried rewriting the XML so that there was brackets around all the repeat questions while maintaining a larger , but it then asks to repeat every individual questions instead of repeating each group of questions…
How do I get each question to read in a separate excel column instead of clustering the repeat questions in a group within one column, (and only representing the first set of recorded answers?
We are working on including Groups and Repeats in the KoBo Interface. We’ll make an announcement when it’s fully functional. In the meantime, you might have a few glitches. Please feel free to share them with the group, it’s always helpful to have beta testers.
I have noticed that there is a repeat feature in the question type menu along with a few other really great questions which were not there just a few days ago… I tried to use the repeat option and when I try to view text or save it it unexpectedly fails. Is this because you are currently updating the program or am I missing a step? I am still completely game to learn the XML coding for it, but this would save me so much time… You guys are awesome over there… Let me know if there is anything I may be doing wrong with these new question types…
Neil,
I have re-written from scratch a survey set, and it works flawlessly in kobo collect with two groups of repeat questions. The problem now arises when I review the csv file in excel. the repeat groups only record the data from the first repeat and it clusters both questions select1 answer into a single node within the column instead of being broken into new ones for each repeat. I included the XML file for the survey below. I tried rewriting the XML so that there was brackets around all the repeat questions while maintaining a larger , but it then asks to repeat every individual questions instead of repeating each group of questions…
How do I get each question to read in a separate excel column instead of clustering the repeat questions in a group within one column, (and only representing the first set of recorded answers?
We are working on including Groups and Repeats in the KoBo Interface. We’ll make an announcement when it’s fully functional. In the meantime, you might have a few glitches. Please feel free to share them with the group, it’s always helpful to have beta testers.
I have noticed that there is a repeat feature in the question type menu along with a few other really great questions which were not there just a few days ago… I tried to use the repeat option and when I try to view text or save it it unexpectedly fails. Is this because you are currently updating the program or am I missing a step? I am still completely game to learn the XML coding for it, but this would save me so much time… You guys are awesome over there… Let me know if there is anything I may be doing wrong with these new question types…
Neil,
I have re-written from scratch a survey set, and it works flawlessly in kobo collect with two groups of repeat questions. The problem now arises when I review the csv file in excel. the repeat groups only record the data from the first repeat and it clusters both questions select1 answer into a single node within the column instead of being broken into new ones for each repeat. I included the XML file for the survey below. I tried rewriting the XML so that there was brackets around all the repeat questions while maintaining a larger , but it then asks to repeat every individual questions instead of repeating each group of questions…
How do I get each question to read in a separate excel column instead of clustering the repeat questions in a group within one column, (and only representing the first set of recorded answers?
We are working on including Groups and Repeats in the KoBo Interface. We’ll make an announcement when it’s fully functional. In the meantime, you might have a few glitches. Please feel free to share them with the group, it’s always helpful to have beta testers.
I have noticed that there is a repeat feature in the question type menu along with a few other really great questions which were not there just a few days ago… I tried to use the repeat option and when I try to view text or save it it unexpectedly fails. Is this because you are currently updating the program or am I missing a step? I am still completely game to learn the XML coding for it, but this would save me so much time… You guys are awesome over there… Let me know if there is anything I may be doing wrong with these new question types…