Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Create random on the basis of answer option in a question
- Mazi
- Offline
- Official LimeSurvey Partner
Less
More
1 week 5 days ago #260840
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Create random on the basis of answer option in a question
Thanks a lot for this detailed explanation, joffm!
So If I get this right, when extending this from top3 to top5 we will end up with 16 RC sub-questions?!
So If I get this right, when extending this from top3 to top5 we will end up with 16 RC sub-questions?!
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12996
- Thank you received: 3999
1 week 5 days ago #260842
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Create random on the basis of answer option in a question
Exact.
N x 3 + 1 (for final)
Joffm
N x 3 + 1 (for final)
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: rajkumar_dms
Please Log in to join the conversation.
- rajkumar_dms
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 0
1 week 4 days ago #260975
by rajkumar_dms
Replied by rajkumar_dms on topic Create random on the basis of answer option in a question
Thanks joffm
You are the genius joffm
Thank you
You are the genius joffm
Thank you
Please Log in to join the conversation.
- rajkumar_dms
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 0
3 days 6 hours ago #263008
by rajkumar_dms
Replied by rajkumar_dms on topic Create random on the basis of answer option in a question
Hi Joffm,
How to pick the only 3 selected answer option previous question
How to pick the only 3 selected answer option previous question
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12996
- Thank you received: 3999
3 days 5 hours ago #263015
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Create random on the basis of answer option in a question
Didn't you see my "step by step" examples for the two solutions
1. only ExpressionScript
2. javascript
Joffm
1. only ExpressionScript
2. javascript
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- rajkumar_dms
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 0
2 days 18 hours ago #263041
by rajkumar_dms
Replied by rajkumar_dms on topic Create random on the basis of answer option in a question
Hi Joffm,
I have used the solutions number 2
But i need the some implementation in the same i would like a provision for the true/false for the shuffle option
Could you help on this scenario
I have used the solutions number 2
But i need the some implementation in the same i would like a provision for the true/false for the shuffle option
Could you help on this scenario
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12996
- Thank you received: 3999
2 days 17 hours ago #263044
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Create random on the basis of answer option in a question
No idea want you want to achieve.
If you do not want to shuffle remove the call.
If you want to display a different number, adapt the call.
You see, we expect that you study the script and try to understand the script.
A good source of information is "W3Schools"
[url] www.w3schools.com/js/ [/url]
If you do not want to shuffle remove the call.
If you want to display a different number, adapt the call.
You see, we expect that you study the script and try to understand the script.
A good source of information is "W3Schools"
[url] www.w3schools.com/js/ [/url]
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- rajkumar_dms
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 0
2 days 16 hours ago #263052
by rajkumar_dms
Replied by rajkumar_dms on topic Create random on the basis of answer option in a question
Hi Joffm,
Thanks for your guided
I had noticed the some error in the script while going back
Actually when i run the script for the same then go back and changes the some answer or not change the any any answer previously selected then go ahead number of answer (was selected before going back) reduced by -1
Can you please look into this & also attached the screenshot for the same
And last image is when we going back then next the result is last image
Thanks for your guided
I had noticed the some error in the script while going back
Actually when i run the script for the same then go back and changes the some answer or not change the any any answer previously selected then go ahead number of answer (was selected before going back) reduced by -1
Can you please look into this & also attached the screenshot for the same
And last image is when we going back then next the result is last image
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12996
- Thank you received: 3999
1 day 11 hours ago #263187
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Create random on the basis of answer option in a question
Hi, I am really tired to answer.
Fine, you noticed an error.
And now?
Always send the lss excport of your surveys (the relevant questions)
We do not have a crystal ball.
JOffm
Fine, you noticed an error.
And now?
Always send the lss excport of your surveys (the relevant questions)
We do not have a crystal ball.
JOffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- rajkumar_dms
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 0
1 day 10 hours ago #263193
by rajkumar_dms
Replied by rajkumar_dms on topic Create random on the basis of answer option in a question
Thanks for your mail,
Regret for inconvenience!!
After onward i will share the lss export with only relevant question
And also noticed one more the for the same when put some answer then go back change that answer it will not reflected in the relevant question(Q20) and i had made some changes in the java script
Here is the lss file
Regret for inconvenience!!
After onward i will share the lss export with only relevant question
And also noticed one more the for the same when put some answer then go back change that answer it will not reflected in the relevant question(Q20) and i had made some changes in the java script
Here is the lss file
Attachments:
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12996
- Thank you received: 3999
16 hours 49 minutes ago #263226
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Create random on the basis of answer option in a question
Oh, you really allow to go back?
That's not a big problem.
Iinstead of the default answer in Q20 just create a question of type "equation" after Q1 and Q17 where you preset the value of Q20 {Q20=list(...)}.
But tell me, if you use "question by question" mode, how do you want to hide Q20?
That's not a big problem.
Iinstead of the default answer in Q20 just create a question of type "equation" after Q1 and Q17 where you preset the value of Q20 {Q20=list(...)}.
But tell me, if you use "question by question" mode, how do you want to hide Q20?
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- rajkumar_dms
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 0
16 hours ago #263230
by rajkumar_dms
Replied by rajkumar_dms on topic Create random on the basis of answer option in a question
We want hide it fully like we hide equation type question and perform all the action like equation question
Please Log in to join the conversation.