Welcome to the LimeSurvey Community Forum

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

How can I achieve this kind of randomisation? 

More
2 years 4 months ago #242322 by Joffm
Hi,
1. You did not insert the question "QImage" with the javascript snippet.
Instead you inserted two questions "QImagesc1" and "QImagesc2" which you never use.
Your relevance equation is still "strpos(QImage_SQ001,"A")>0"
And this question did not have two subquestions.
Create this question in the first qroup.

Here you only shuffle the 24 elements into two containers.
You need two subquestions. I showed it here
 
Later you use them for the relevance equation.


2. Furthermore you will get in trouble because you display "question by question"
You cant'hide the question by "Always hide this question".
Then the whole question is not existing in the DOM and there is no javascript to work.
Therefore you see the line in the script
    // Remove the slashes in the next line 
//    $('#question{QID}').hide();

While you test the survey you shouldn't hide it, but in the real survey you should by removing the slashes.

Now the inconvenience.
The question is hidden after it is displayed on the screen. So you see "nothing but the "Previous" and "Next" button.
A possible workaround is to hide the question by css (css class "hidden") and as soon as the javascript worked you trigger the "Next" button.

To avoid this we often recommend to display "group by group" with only one question per group.
This way you are able to use some workarounds and you also can display two questions one page.

Well, I restructured your survey.
But I did not add the missing relevance equations in "GeoCatScalar", the second.
Of course here you enter the condition that the character is included in the second "container", subquestion.
"strpos(QImage_SQ002,"A")>0
 

File Attachment:

File Name: limesurvey...4862.lss
File Size:586.24 KB


And I do not talk about the missing filters "autrelang", the - in my opinion - bad idea to use a dropdown question if there are only two or three options "genre", "autrelang", "paysetude". You may use bootstrap-buttons instead.

The spacings in the GeoCat questions are different in the questions.

And you should revise the css of the texts. Did you copy it from somewhere?
Real orgias of <span>.

And do you really expect people to answer the 60 items of listedemots? 

File Attachment:

File Name: limesurvey...4862.lss
File Size:586.24 KB

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
2 years 4 months ago #242354 by LolaTx
Dear Joffm, 

We are very grateful for the time you invested to help us with our questionnaire ! Thanks to you, our survey runs perfectly now ! 

According to your suggestions, we now also have modified our demographic questions into bootstrap buttons. I have a last questions, we want our participants to be redirected to the end of the questionnaire if they are not at least 18 (question 'age') or if their level of French is below 5 (question 'nivfr'). We were used to set conditions and apply these conditions to all other groups of questions in the questionnaire. But perhaps this approach will conflict with our 'strpos'-conditions ? 

I don't understand what you mean with "you should revise the css of the texts. Did you copy it from somewhere? Real orgias of <span>". Does this have anything to do with the fonts we use ? 

Yes, we expect our participants to answer to all 60 items of 'listesdemots'. I agree that this is a lot but this tool was developed by my PhD supervisor... :-)

Thank you again, best wishes, 
Lola
 

Please Log in to join the conversation.

More
2 years 4 months ago #242356 by Joffm
To screen out people you should use quotas, in your case with limiot "0".
[url] www.limesurvey.org/manual/Survey_quotas/en [/url]

And I talked about these things.
Code:
<p style="text-align: center;"><span style="font-size:16px;"><span style="font-family:Arial,Helvetica,sans-serif;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Il vous sera maintenant demandé d'indiquer sur une échelle continue</font></font></font></font></font></font></font></font></font></font></font></font></span></span></p>
 
<p style="text-align: center;"><span style="font-size:16px;"><span style="font-family:Arial,Helvetica,sans-serif;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">à quel point deux figures sont </font></font></font></font></font></font></font></font></font></font><u><strong><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">similaires</font></font></font></font></font></font></font></font></font></font></strong></u><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"> entre elles.</font></font></font></font></font></font></font></font></font></font></font></font></span></span></p>
 
<p style="text-align: center;"> </p>
 
<p style="text-align: center;"><span style="font-size:16px;"><span style="font-family:Arial,Helvetica,sans-serif;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Pour cela, il vous suffira de déplacer le curseur vers la gauche</font></font></font></font></font></font></font></font></font></font></font></font></span></span></p>
 
<p style="text-align: center;"><span style="font-size:16px;"><span style="font-family:Arial,Helvetica,sans-serif;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">ou vers la droite selon votre réponse.</font></font></font></font></font></font></font></font></font></font></font></font></span></span></p>
This is the source code of the text. Rather terrible.
But this one I revised in the survey I sent back.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: LolaTx

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose