Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Search Results (Searched for: multiple)

  • LemonLime11
  • LemonLime11's Avatar
02 May 2024 16:50
The surveys was created on version 2.72.2. What I meant from my last reply wast I tried sending my self the email with the link to the survey containing token. I was prompted to enter the token twice in multiple instances that I click on the link included in the email I received. we are currently using 6.5.1
  • LemonLime11
  • LemonLime11's Avatar
02 May 2024 16:44
Hi Holch,

Thank you for the quick response.

The email link actually works and the token include is correct. its just since we are sending this to user, they are expecting the link to just work as it is. I tried this multiple time and was able to reproduce it just 2x.

I click on the link attached to the email and when the page loads, ask me about the token, but I know the token and just inputed it on the text area and was able to load the survey.
  • davebostockgmail
  • davebostockgmail's Avatar
02 May 2024 14:49 - 02 May 2024 14:52
Replied by davebostockgmail on topic Random Groups with Random Items
Hi Joffm and thanks for the response.
Maybe I wasn't clear in my description, I know how to randomise groups etc. This was to randomise answers in a multiple choice question, keeping items within subheaders etc. as per the lss file. I have updated the original post for clarity

thanks
Dave
  • Joffm
  • Joffm's Avatar
02 May 2024 14:38
Replied by Joffm on topic Can we apply the least filed Quota
This you can do with the function "statCount" or "statCountIf" both included in the built-in plugin "statFunctions"

Count the selected answer options so far and
a. in a multiple question just use subquestion condition.
b. in a single question it is a bit more work
  • create a multiple question with identical codes
  • set the selected subquestion with a questoion of type "equation". That is: select it if the limit ian't reached, don't select if the limit is reached.
  • use ths multiple question as array filter of the single question.
Joffm
 
  • davebostockgmail
  • davebostockgmail's Avatar
02 May 2024 14:17 - 02 May 2024 14:52
Random Groups with Random Items was created by davebostockgmail
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.61+240430
Own server or LimeSurvey hosting: Own Server
Survey theme/template: Modified Fruity (I think)
==================
What I would like to do is to have, and I am not sure if this is possible, is the randomisation of subgroups and then the randomisation of the answer within each subgroup in a multiple choice question.

For example if we have a question with the following answer options
Subgroup Heading 1
Answer 1
Answer 2
Answer 3
Subgroup Heading 2
Answer 4
Answer 5
Answer 6
Subgroup Heading 3
Answer 7
Answer 8
Answer 9

... then I would like it randomise the subgroups so for example it could be subgroup 2 then 1 then 3, and within each group randomise the answers so answer 8 then 7 then 9

I have attached a .lss file with this structure and the code to do the sub headers for the groups but I need to know if the randomisation pattern is possible.

Thanks for any help in advance
Dave

 

File Attachment:

File Name: RandomWith...ders.lss
File Size:31 KB


 
  • Gonzalo12354
  • Gonzalo12354's Avatar
02 May 2024 10:14 - 02 May 2024 10:14
Right in the attribute there can be codes or anything else, the important thing is that it is separated by commas and I want each sub-question to be generated for each comma, so to speak. So if the attribute_1 has: "apple, pear, watermelon" in the multiple option question I want to have 3 options 1 for each fruit.
  • Joffm
  • Joffm's Avatar
01 May 2024 21:47
Hi,
What I understand is:
There is a question of type "multiple" with subquestions coded "AF1", "AQ3", "AV9", and some more
Now one participant has an additional attribute "AF1, AQ3, AV9"; another participant may have "AF3, AP7, AV9, AR1, AB5"

And you want to show the resp. subquestions.

If this is correct, you do this with the function "strpos(haystack,needle)" as subquestion condition,
like
strpos(TOKEN:ATTRIBUTE_1,"AF1")>0

Make sure that the result of the function is not 0; 0 means "not found".
You can do this by adding some character at the start of the attribute, like "#AF1, AQ3, AV9"

Joffm

Why did you not only ignore the questions at the beginning, no, you removed them.
It is not a joke that we ask these questions.
  • chrisapx
  • chrisapx's Avatar
01 May 2024 17:17
Hi,
I'm new to lime survey and I'm trying to create a question with multiple choices but the last answers require a little clarification so I need to insert some text before these answers. Something like this:

  I don't know (radio button)
If you know tell me how much (text)
  Not much (radio button)
  A little (radio button)
  Some (radio button)
  A lot (radio button)
  All of them (radio button)

This is just an example, I have to have the text.

Thanks!!
 
  • Gonzalo12354
  • Gonzalo12354's Avatar
30 Apr 2024 13:46
Hello, I am having problems because I want to generate subquestions in a multiple choice question separated by commas.
This is an example of the participant attribute value: "AF1, AQ3, AV9" I want to have 3 subquestions but I want the possibility if another participant has more values to add more subquestions.
Thank you very much.
  • rajkumar_dms
  • rajkumar_dms's Avatar
29 Apr 2024 21:54
Hi holch,
I am talking not about that
I would like to piping the selected answer text from multiple choice to any type of question text (like we use {Q1})
Hope you understand 
  • rajkumar_dms
  • rajkumar_dms's Avatar
29 Apr 2024 19:55
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.5
Own server or LimeSurvey hosting:
Survey theme/template:
==================
Hello Team,
I would like the piping the the selected option in the multiple choice question to the another question

I have a question Q1 having option A,B,C,D,E,F,G,H and i selected the A,C,D,G,H and these selected option are piping to the next question   
  • Joffm
  • Joffm's Avatar
29 Apr 2024 16:38
Hi, there are a few contradicting things.
You say "1 to 4 answers", but on the other side you say "mandatory" that is "each cell has to be answered".
And this last requirement is not fulfilled when you check "No answer"

So remove the "mandatory" setting and everything is fine.
You still force
  • at least one answer
  • sum equal 100

And the "No answer" option works.




Joffm


 
  • v12345
  • v12345's Avatar
29 Apr 2024 13:32 - 29 Apr 2024 13:38
LimeSurvey version: 5.4.14+221205
==================
I have modified a Multiple Numerical Input question using this script ( forums.limesurvey.org/forum/can-i-do-thi...ively-a-radio-button ) to include an exclusive option 'No Response'. However, I would like to make this question mandatory. Currently, Limesurvey expects input even for the 'No Response' option, resulting in an error (Please answer all areas/parts of the question(s)). Is there a solution to this issue?

Attachment not found

Attachment not found

  • Joffm
  • Joffm's Avatar
29 Apr 2024 10:32
Replied by Joffm on topic How to show or hide a code
1. check box type question = multiple question -> subquestion relevance
2. radio bottom question = list(radio)
You have to insert a (hidden) question of type "multiple" and to preset the options by an ewquation.
Then you can use this question as array filter for the list(radio).
 
  • Joffm
  • Joffm's Avatar
28 Apr 2024 11:52 - 28 Apr 2024 11:57
Hi,
at first you have to consider:
These are two independent questions.
1a. Which attributes do you associate with category 1?
1b. Which attributes do you associate with category 2?
Both "multiple". This is straightforward, easy and built-in.

Additionally you may display these two questions side by side, like this
 
As here you only display two multiple questions your requirement is still fulfilled.
Unfortunately you did not answer the questions at the beginning (why not?)
Therefore we can't know if you are allowed to use javascript.
But here it is.
Put it in one of the questions (and you have to enter into css classes: "flex-layout")
Code:
<script type="text/javascript" data-author="Tony Partner">    
    $(document).ready(function() {
 
        // The number of questions to wrap in the flex container
        var numberQuestions = 2;
 
        // Identify the questions
        var thisQuestion = $('#question{QID}');        
        var rowQuestions = thisQuestion.add(thisQuestion.nextAll('.question-container:lt('+(numberQuestions-1)+')'));
 
        // Wrap the questions in a <div> element
        rowQuestions.wrapAll('<div class="question-flex-container" />');
    });
</script>

Code:
<style type="text/css">@media only screen and (min-width: 576px) {    
        .question-flex-container {
            display: flex;
            justify-content: space-evenly;
        }
.flex-layout.question-container {     width:100%;  
    }
</style>



And of course you can use an array(numbers) with checkbox layout.
Here you have to use your own question validation equation to make sure that there is at least one checkbox per column selected.
Furthermore you have to insert the "Other"-option.
Add a question of type "short text" after your array
Put this script into the array question
Code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
    // Identify the questions
    var thisQuestion = $('#question'+{QID}+'');
    var nextQuestion1 = $(thisQuestion).nextAll('.text-short:eq(0)');
    var nextQuestions = $(nextQuestion1);
    var nextLength = nextQuestions.length;
    var sqLength = ('tr.answers-list', thisQuestion).length;
 
    // Hide the short-text questions
    $(nextQuestions).hide();
 
    // Move the hidden text inputs into the array
    for (i = 0; i < nextLength; i++) {
        var workingIndex = (sqLength - 1) - (nextLength - i);
        var nextQ = nextQuestions[i];
        $('th.answertext:eq('+workingIndex+')', thisQuestion).append($('input[type="text"]', nextQ)).closest('tr').addClass('otherRow');
    }
 
// Some styling...
    $('input[type="text"]', thisQuestion).css({
        'width': '100%'
    });
});
</script>[/i]


Like this
 


Joffm
Displaying 16 - 30 out of 748 results.

Lime-years ahead

Online-surveys for every purse and purpose