- Posts: 168
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Updating or adding questions to a live survey.
- ymca
- Topic Author
- Offline
- Elite Member
Less
More
7 years 3 weeks ago #152066
by ymca
LS Version 4.2+
Updating or adding questions to a live survey. was created by ymca
Hi,
I want to make a survey that can do these things:
1. The users can pause and continue when they want.
2. The users can resubmit after a spesific time from their last survey submitting.
My question is:
Can I update or add questions to a survey that is live?
For example:
User answered these 3 question in the old survey:
1. What is your gender?
2. how old are you?
3. Do you smoke?
New question added:
4. Do you do sport?
Can the user answer just on the new question?
I want to make a survey that can do these things:
1. The users can pause and continue when they want.
2. The users can resubmit after a spesific time from their last survey submitting.
My question is:
Can I update or add questions to a survey that is live?
For example:
User answered these 3 question in the old survey:
1. What is your gender?
2. how old are you?
3. Do you smoke?
New question added:
4. Do you do sport?
Can the user answer just on the new question?
LS Version 4.2+
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 3 weeks ago #152070
by jelo
You can export responses, deactivate survey, add question, activate survey and reimport responses.
But even then the respondents won't be able to just answer the newly added question.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Updating or adding questions to a live survey.
No. LimeSurvey won't allow you to add the question without deactivating the survey.ymca wrote: Can the user answer just on the new question?
You can export responses, deactivate survey, add question, activate survey and reimport responses.
But even then the respondents won't be able to just answer the newly added question.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: ymca, pellyadolfo
The topic has been locked.
- ymca
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 168
- Thank you received: 2
7 years 3 weeks ago #152218
by ymca
LS Version 4.2+
Replied by ymca on topic Updating or adding questions to a live survey.
Thanks for the reply.
Is it possible to add questions by building a plugin or there is no way to do that also with a plugin?
Is it possible to add questions by building a plugin or there is no way to do that also with a plugin?
LS Version 4.2+
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
7 years 3 weeks ago #152219
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Updating or adding questions to a live survey.
Problem with adding questions or subquestions is that you need to add also columns in the database, I think this is the main reason why you can't add questions in live surveys.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: ymca
The topic has been locked.
- ymca
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 168
- Thank you received: 2
7 years 2 weeks ago #152320
by ymca
LS Version 4.2+
Replied by ymca on topic Updating or adding questions to a live survey.
The users will be able to resubmit all or most of their answer every once in a while.
So I have no problem with taking the survey offline so I'll be able to add new questions (If I'll need to...) for the users to answer.
So I have no problem with taking the survey offline so I'll be able to add new questions (If I'll need to...) for the users to answer.
LS Version 4.2+
The topic has been locked.
- ymca
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 168
- Thank you received: 2
6 years 10 months ago #155488
by ymca
I am trying to search the option in the manual on that so I can be able to let users resubmit their answers (after "x" days/months) if they want to change.
Where can I find it/what to look for?
LS Version 4.2+
Replied by ymca on topic Updating or adding questions to a live survey.
ymca wrote: Hi,
2. The users can resubmit after a spesific time from their last survey submitting.
I am trying to search the option in the manual on that so I can be able to let users resubmit their answers (after "x" days/months) if they want to change.
Where can I find it/what to look for?
LS Version 4.2+
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
6 years 10 months ago #155519
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Updating or adding questions to a live survey.
There is no option that will allow them after "x" days/months. So you need to control this manually by expiring and "unexpiring" the survey.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- lakfel
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
5 years 5 months ago #177254
by lakfel
Replied by lakfel on topic Updating or adding questions to a live survey.
Through the web application it is not possible.
But you can do it if you are very carefully directly in the database.
1.) If you need a new group, add a row in the lime_groups table, of course with th correct sid.
2.) Create the question. You must have clear if you will have subquestions or not and the type of question.
You first create the row in the table lime_questions with the correct sid and the gid of the group you just created or the one you want to add the question to.
In the column type you mast put the code of the type, you can see here
manual.limesurvey.org/Question_Objects
If you have subquestions, you must create them in the same table adding the parent_qid with the qid of the question you just created.
Having subquestions are usually not that complicated but if you have a double column question, this is a little complicated so let me know and I help you if that is the case
3) If your question has closed answers you must add them in the table lime_answers.
4) this is the hard part. You must add a new column to the table lime_survey_<sid>
If the question does not have subquestions the column name is
<sid>X<gid>X<qid> Example 86574X123X345
But if the question does have subquestions, you must add one column for each subquestion and the column name must be
<sid>X<gid>X<parent_qid><question_title> Example 86574X123X345SQ001
If the question have double column questions it is more complicated, I 'll explain you just aske me
But you can do it if you are very carefully directly in the database.
1.) If you need a new group, add a row in the lime_groups table, of course with th correct sid.
2.) Create the question. You must have clear if you will have subquestions or not and the type of question.
You first create the row in the table lime_questions with the correct sid and the gid of the group you just created or the one you want to add the question to.
In the column type you mast put the code of the type, you can see here
manual.limesurvey.org/Question_Objects
If you have subquestions, you must create them in the same table adding the parent_qid with the qid of the question you just created.
Having subquestions are usually not that complicated but if you have a double column question, this is a little complicated so let me know and I help you if that is the case
3) If your question has closed answers you must add them in the table lime_answers.
4) this is the hard part. You must add a new column to the table lime_survey_<sid>
If the question does not have subquestions the column name is
<sid>X<gid>X<qid> Example 86574X123X345
But if the question does have subquestions, you must add one column for each subquestion and the column name must be
<sid>X<gid>X<parent_qid><question_title> Example 86574X123X345SQ001
If the question have double column questions it is more complicated, I 'll explain you just aske me
The topic has been locked.
- lfanfoni
- Offline
- Platinum Member
Less
More
- Posts: 916
- Thank you received: 218
5 years 5 months ago #177276
by lfanfoni
Se mi vuoi contattare, non mandare messaggi privati qui, bensì scrivi a lfanfoni at gmail.com
Per le livestream in italiano vai su: www.youtube.com/playlist?list=PLOSjjxAG9...SiiCsSz_JxIH7xJwLdPd
Le soluzioni LimeSurvey per l'Italia si trovano su: github.com/lfanfoni
Replied by lfanfoni on topic Updating or adding questions to a live survey.
If you know exactly the additional questions you want to give in the next rounds, you can define a survey including these questions. In the first round you can hide these questions, and in the other rounds you can show questions without stop the survey.
You can allow partecipants to update responses if the survey is not anonymized and if token-based response persistence is enabled.
You can allow partecipants to update responses if the survey is not anonymized and if token-based response persistence is enabled.
Se mi vuoi contattare, non mandare messaggi privati qui, bensì scrivi a lfanfoni at gmail.com
Per le livestream in italiano vai su: www.youtube.com/playlist?list=PLOSjjxAG9...SiiCsSz_JxIH7xJwLdPd
Le soluzioni LimeSurvey per l'Italia si trovano su: github.com/lfanfoni
The topic has been locked.