Welcome to the LimeSurvey Community Forum

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

Search Results (Searched for: template)

  • Orélie
  • Orélie's Avatar
Today 11:03 - Today 11:05
 

File Attachment:

File Name: limesurvey...4-23.lss
File Size:853 KB
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Cloud   Version 6.5.4
Own server or LimeSurvey hosting: Limesurvey hosting
Survey theme/template: Fruity 23
==================

Hello,

I made a survey with 3 randomly displayed groups (see attached lss file).

I'd like to display the 1st group to 10% of the participants, the 2nd group and the 3rd groups to 45% of the participants.

Does anyone have the correct syntax?

Thanks a lot!
  • rajkumar_dms
  • rajkumar_dms's Avatar
Today 10:44 - Today 14:21
Please help us help you and fill where relevant:
Your LimeSurvey version: [6.5]
Own server or LimeSurvey hosting:Clould
Survey theme/template:
==================
I would like the below compile the below syntax in lime survey, can i compile it 
<script type="text/javascript">
  $(document).on('ready pjax:scriptcomplete',function(){
function shuffleArray(array) {
    for (let i = array.length - 1; i > 0; i--) {
        const j = Math.floor(Math.random() * (i + 1));
        [array, array[j]] = [array[j], array];
    }
    return array;
}

// Example: Customizing rotation for a multiple choice question
$(document).ready(function() {
    // Identify the question by its ID or class
    var questionId = $('#question{QID}'); // Change to the appropriate ID or class

    // Get the answer choices container
    var answerChoicesContainer = $(questionId).find('.answer-choices');

    // Get the answer choices
    var answerChoices = answerChoicesContainer.children('.answer-item');

    // Array to store fixed elements
    var fixedElements = [2,4,6];

    // Loop through answer choices to find fixed elements
    answerChoices.each(function() {
        if ($(this).hasClass('fixed')) { // Assuming 'fixed' is a class added to fixed elements
            fixedElements.push($(this));
        }
    });

    // Remove fixed elements from the answer choices array
    fixedElements.forEach(function(element) {
        answerChoices = answerChoices.not(element);
    });

    // Shuffle the remaining answer choices
    var shuffledChoices = shuffleArray(answerChoices);

    // Insert fixed elements back into the shuffled choices array
    fixedElements.forEach(function(element) {
        shuffledChoices.splice(element.data('position'), 0, element); // Assuming 'position' is a data attribute indicating the fixed position
    });

    // Append the shuffled choices back to the container
    answerChoicesContainer.empty().append(shuffledChoices);
});
</script>
  • quantifyai
  • quantifyai's Avatar
Today 00:58 - Today 00:59
Please help us help you and fill where relevant:
Your LimeSurvey version: [6.5.4]
Own server or LimeSurvey hosting: Lime Hosting
Survey theme/template:
==================
(Write here your question/remark)

I want to send the respondent from Lime survey to another platform to complete the survey and bring him back once they screen out or complete the survey. please guide me.
  • larjona
  • larjona's Avatar
Yesterday 17:55 - Yesterday 17:55
Where to download 3.28.77+231213 ? was created by larjona
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.28.50
Own server or LimeSurvey hosting: own server
Survey theme/template: n/a
==================
Hello, I have a LimeSurvey 3.x instance that I should have updated long ago but didn't. I would like to get it to the last 3.x release that I believe it's 3.28.77+231213, but I cannot find the place to download it.
If I go to community.limesurvey.org/downloads/ I click on "all releases" and arrive to community.limesurvey.org/releases/ where I can see in page 3 the release I want, but clicking on it does nothing (well, it returns to the first page of the list of releases).
I went to the GitHub repo and I could find the 3.28.76 tag github.com/LimeSurvey/LimeSurvey/tree/3.28.76%2B231018 but not the 3.28.77.
How can I get it?
  • BBSR-SR5
  • BBSR-SR5's Avatar
Yesterday 15:12
I've investigated this issue further.

I'm pretty sure this is not working as intended and is actually a bug. If one of the Veterans could confirm it, I'd be rather thankful.

This problem only occurs if you set questionindex to complete:
 

When this setting is picked instead of submitting the survey on the last page, the survey jumps to the last (matrix - I only tested with those) question with unanswered options. It is impossible to finish/submit the survey before all questions are completely answered.

Example survey: 

File Attachment:

File Name: soft_force_bug.lss
File Size:32 KB


Is this a bug? And is there some way to workaround this by editing something in the survey template? We want to go release the survey this week and it'd be rather helpful if we can actually use the "soft force"/"weicher zwang" options.
 
  • kirsten.vdz
  • kirsten.vdz's Avatar
Yesterday 13:45
Lost changes to survey was created by kirsten.vdz
Please help us help you and fill where relevant:
Your LimeSurvey version:  LimeSurvey Community Edition  (Version 5.6.10+230313)
Own server or LimeSurvey hosting: LimeSurvey
Survey theme/template: extends_fruity
==================
Hi there,
Hoping someone can please help me understand an issue I am having. I have been working on building a large survey over the past two weeks with no issues and have activated the survey multiple times. On Friday, I made a series of changes, activated it, tested it, filtered responses. This morning, I opened up my laptop and accessed the website, and maybe 3 days of work has just vanished, i.e., settings changes have reverted, questions are gone / unedited, the survey is not activated and all my test responses have vanished too.

Does anyone know what may have caused this - is it possibly the update released today? 
  • Nachiappan Chockalingam
  • Nachiappan Chockalingam's Avatar
Yesterday 11:30
Combining two types of responses in the same question was created by Nachiappan Chockalingam
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen] 6.5.3
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template:
==================
I am trying to create a question with two types of answers ( boot strap plus text input). I am struggling to design it (I have attached the copy of the question here). Can someone help?

thanks in advance. 
  • lfanfoni
  • lfanfoni's Avatar
Yesterday 11:00
Replied by lfanfoni on topic allegare documento alla mail di invito
Quando dici che l'allegato "non viene salvato assieme al testo" intendi dire che stai comunque usando l'apposita funzione "Allega" posta poco sotto la box di modifica del testo del template da modificare, vero?
Ad ogni modo mi sembra di ricordare che c'era un problema simile con le vecchie versioni. Probabilmente con le versioni più recenti hanno risolto.
Ma ricordo anche che riuscivo a risolvere in qualche modo. Mi pare caricando preventivamente l'allegato (pdf) usando il pannello delle Risorse, che permette di fare upload di file. Fai qualche prova cosi'.
In alternativa metti questo allegato scaricabile dalla pagina di benvenuto o all'inizio del questionario.
  • psychometric.gr
  • psychometric.gr's Avatar
Yesterday 00:45 - Yesterday 00:48
.css of token page text attributes was created by psychometric.gr
Please help us help you and fill where relevant:Your LimeSurvey version:  6.4.5+240205
Own server or LimeSurvey hosting: own server
Survey theme/template: Vanilla
==================
Hello everyone,
I have not been able to find a topic addressing this issue.
I have been trying for days to find a way to change the color of the token page message 'If you have been issued a token, please enter it ....' 
I would be grateful for your advice!
I am attaching two screenshots. (Note that I have adapted the text in the token.twig)

Thank you,
Alexandra
 
  • acmamin
  • acmamin's Avatar
20 Apr 2024 13:23
condition was created by acmamin
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)

Bonjour, 
Je ne maitrise pas du tout les questionnaires. 
J'ai fait un questionnaire avec 20 questions. A la question 7, j'aimerai que selon la réponse (oui /non) le questionnaire soit dirigé vers des questions différentes. => j'aimerais que si la réponse à la question 7 est oui, le questionnaire propose les question 8 à 16 et que si la réponse à la question 7 est non, le questionnaire propose les questions 17 à 20. 
Pour cela j'ai mis 2 conditions :  à la question 8  (( Q00007.NAOK  == "AO01"))   et à la  question 17 (( Q00007.NAOK  == "AO02")) . 
Quand je prévisualise le questionnaire, cela ne fonctionne pas : 7+ oui => va a la question 8   7+ non => va a la question 9. 
Je ne sais pas comment résoudre ce problème. 

De plus j'aimerais que quand on répond oui à la question 7, on puisse répondre de la question 8 à 16 uniquement  et que si on répond non à la question 7 ou puisse répondre de la question 17 à 20. 
(pour le moment "oui" à la question 7  renvoie aux questions 8 à 20)

merci beaucoup pour votre aide !
  • Joffm
  • Joffm's Avatar
19 Apr 2024 18:42
Replied by Joffm on topic Legal Notice in Impressum umbenennen

Dies funktioniert natürlich nur so, wenn der Survey nur auf Deutsch ist. Bei Mehrsprachigen Surveys müsste man das Label entsprechend der Surveysprache anpassen.

Du kannst ja in der twig entsprechend der Sprache eine Verzweigung machen
ähnlich wie hier
[url] forums.limesurvey.org/forum/can-i-do-thi...uage?start=24#168083 [/url]
 
  • BBSR-SR5
  • BBSR-SR5's Avatar
19 Apr 2024 14:24
Replied by BBSR-SR5 on topic Legal Notice in Impressum umbenennen

Ja, ein Bug Report wäre hier sicher angebracht, damit man das zukünftig aus den Übersetzungsdateien laden kann.

Bitte den Link zum Ticket im Bugtracker im Anschluss hier posten.
Ich habe ein Ticket angelegt: bugs.limesurvey.org/view.php?id=19524
Es ist mein erstes, ich hoffe ich habe nicht zu viel Quatsch reingeschrieben :)

Ansonsten habe ich noch folgenden Workaround gefunden.

Man kann ein Custom Template erstellen und dann im custom.js folgenden Code ergänzen:
Code:
$("#legalnotice-label").text("Impressum");
Dies ersetzt den Titel im Popup Fenster, wenn man auf "Legal Notice"/Impressum klickt. Dies funktioniert natürlich nur so, wenn der Survey nur auf Deutsch ist. Bei Mehrsprachigen Surveys müsste man das Label entsprechend der Surveysprache anpassen.

Um den Text im Footer zum Abruf des Impressums umzubenennen, habe ich dies im footer.twig angepasst:
Code:
{% if aSurveyInfo.oSurvey.showlegalnoticebutton == 1 or aSurveyInfo.sShowGlobalLegalNoticeButton == '1' %}
                    <a data-bs-toggle="modal" data-bs-target="#legalnotice-modal">
                        Impressum{#{{ gT('Legal notice') }} #}
                    </a>
                {% endif %}
Ich habe hier einfach den Code, durch den eigentlich die lokalisierte Version von "Legal Notice" eingefügt werden sollte durch ein gehardcodetes "Impressum" ersetzt. Entsprechend funktioniert dies ebenfalls nur wenn der Survey nur in Deutsch ist.
  • frnchu
  • frnchu's Avatar
19 Apr 2024 12:31
Hide number from a single question was created by frnchu
Hello, I'm here again with another survey.

I have a problem. My questions are numbered but I want one, in particular, not to show its number (it is an explanatory text and not a question as such), so I want this question not to show its number. All the others do. How could I do it?
Thank you.


LimeSurvey Community Edition
Versión 5.6.31+230718
Survey theme/template: Fruity

==================
 
  • rajkumar_dms
  • rajkumar_dms's Avatar
19 Apr 2024 11:49
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.5
Own server or LimeSurvey hosting:Clould
Survey theme/template:
==================
Hello Team,
We are the great!
I would like the Rotation in radio bottom & check box type question with some codes are not be part of rotation and that code will placed in their original place
For Example i had Q1 having option 1 to 9 then i would like to Rotate the option but code 2,5,8 would not be rotate and these code are to be shown their respectively position
  • BBSR-SR5
  • BBSR-SR5's Avatar
19 Apr 2024 09:32
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 6.5.3
Own server or LimeSurvey hosting: LimeSurvey Cloud
Survey theme/template: Customised Fruity_23 Blueberry
==================
Hello everyone,

I'm using the "soft force" option in a few questions. But when I try to finish the survey, it jumps back to the first question with unanswered options and soft force active. How do I disable this feature?

I want to either send the survvey or have a popup that gives the user the option to send the survey or jump to the first question with unanswered options.

How do I do this?
Displaying 1 - 15 out of 1239 results.

Lime-years ahead

Online-surveys for every purse and purpose