Welcome to the LimeSurvey Community Forum

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

Search Results (Searched for: template)

  • rajkumar_dms
  • rajkumar_dms's Avatar
28 Mar 2024 14:50
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.4
Own server or LimeSurvey hosting:
Survey theme/template:
==================
How to count the number selected answer in the mutiple choice questions is there is any function for this
  • liuinhsanhalt
  • liuinhsanhalt's Avatar
28 Mar 2024 14:10
Replied by liuinhsanhalt on topic set an existing survey as a template
Sorry! I thought the different language sections would have users from different countries...
  • phylll
  • phylll's Avatar
28 Mar 2024 14:03
LimeSurvey version: LimeSurvey Cloud Version 6.4.12, hosted by LimeSurvey, using the standard Fruity TwentyThree theme.
==================

Dear experts,

The closest I was able to find in the forums is this 3-years-old thread with very useful input by Joffm:  forums.limesurvey.org/forum/can-i-do-thi...ltiple-choice#209614

Basically, I've built a survey that first asks a multiple choice question with checkmarks (completely open, respondents can select between zero options and every available option) and then they get shown one question group per selected option, or none at all if they selected no options at all. Works fine.

As an additional feature, I've added respondent-specific defaults to the multiple choice question. So, the participant table holds extra information in attributes, and based on those attributes, some of the checkmarked subquestions in the multiple choice question "rcptSlctr" get automatically checked by default. Works fine, as well.

I've built this as a "survey template" not in the LimeSurvey sense but as an incomplete survey that I export as an LSS file, modify through a Python script to generate all these repetitive question groups that would be tedious and error-prone to build per hand every time, and reimport the new LSS into LimeSurvey. Again, works fine in most ways, and LimeSurvey's logic checks run fine.

Except that now, *deselecting* some of these defaults gets ignored *most of the time*. I am able to select additional question groups in my initial multiple choice question, and deselect others that were defaults, but then I still usually get a selection of question groups to answer that tends to include all the choices I tampered with, but not all (so the group relevance checks/conditions do work wherever I had not touched the checkboxes on the multiple choice question page).

Is this sufficiently clear or should I make screenshots? I've attached the LSS file I'm using. The problem tends to appear more often, if not only (no longer sure after lots of testing) for slightly larger number of choices and question groups than those 3. In my "production version", I have 23 entries/question groups, and there is happens all the time. If necessary, I can create an anonymized LSS with 23 entries, but I wanted to first give it a try and see if there is some obvious mistake I've made. (It's an internal staff feedback tool in my organization, so I need to anonymize everything before I post the LSS.)

Thank you very much for your support! 

File Attachment:

File Name: limesurvey...9999.lss
File Size:57 KB
  • Joffm
  • Joffm's Avatar
28 Mar 2024 13:56
Replied by Joffm on topic set an existing survey as a template
Please, do not double post.
You asked this in the German part, too, where you got an answer.

Joffm
  • okkhalid
  • okkhalid's Avatar
28 Mar 2024 13:39
Replied by okkhalid on topic need help with Emoji Answers
I have extended the template and re-applied this to the custom CSS and selected the new theme in the survey.
Code:
 
 
  .with-emoji .radio label::before,
.with-emoji .radio label::after {
  display: none;
}
 
.with-emoji .radio .label-text img {
  border: 4px solid #FFFFFF;
  box-sizing: content-box;
  -moz-transition: border-color 350ms ease; 
  -o-transition: border-color 350ms ease; 
  -webkit-transition:border-color 350ms ease; 
  transition: border-color 350ms ease;
}
 
.with-emoji .radio .label-text:hover img {
  border-color: #ECF0F1;
}
 
.with-emoji .radio input[type="radio"]:checked + label + .label-text img {
  border-color: #233140;
}
 
/* Custome radio change 2 images. */
 
.with-emoji .radio label::before,
.with-emoji .radio label::after {
    display: none;
}
 
.with-emoji .radio .label-text img.checked {
    display: none;
}
 
.with-emoji .radio input[type="radio"]:checked + label + .label-text img.unchecked {
    display: none;
}
 
.languagechanger {display:none;}
 
 
.with-emoji .radio input[type="radio"]:checked + label + .label-text img.checked {
    display: inline;
}
 
  • rajkumar_dms
  • rajkumar_dms's Avatar
28 Mar 2024 13:25
How to apply Filter On Single choice Question was created by rajkumar_dms
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.4
Own server or LimeSurvey hosting:
Survey theme/template:
==================
Hello Team,
I have mutiple choice(Q1) Question having Option A,B,C,D and 2 single choice(Q2,Q3) question having same option  
Only the selected option will be shown in Q2 & Q3 and on more will apply on Q3,Q2 option will be not shown in the Q3
if selected A B D in Q1 these option will be shown in Q2  then if selected D Q2,for Q3 it will be only A B Not D
 
i hope you understand my requirement
  • ritapas
  • ritapas's Avatar
28 Mar 2024 11:52
default value for datetime was created by ritapas
Please help us help you and fill where relevant:
Your LimeSurvey version: 3
Own server or LimeSurvey hosting: own
Survey theme/template: n/a
==================
hello,
is there a way to set a default value for a date/time question?
If I put something like: '30.03.2024' (with or without quotes) I get this error:
Code:
CDbCommand ha riportato un errore nell'esecuzione della query SQL: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: ''06.03.2024'' for column

thank you

 
  • liuinhsanhalt
  • liuinhsanhalt's Avatar
28 Mar 2024 11:41
set an existing survey as a template was created by liuinhsanhalt
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen] version 5.6.15
Own server or LimeSurvey hosting: own Server
Survey theme/template: fruity
==================
Hi everyone! How to set one survey to model or templates, this template can be view and copied by other users. the target is set an existing survey as a template, and to give other users the ability to add or modify new content based on it, which reduces the time to create a survey, thanks!
  • rbnbchr
  • rbnbchr's Avatar
28 Mar 2024 08:50
Please help us help you and fill where relevant:
Your LimeSurvey version:  3.17.1+190408
Own server or LimeSurvey hosting:
Survey theme/template:
==================
Hello everyone,

I have created a survey (which is NOT yet active) where the base language is set to German (informal). Now I should change the base language to German (the formal one).

In older posts it was pointed out that this is not possible. But is there perhaps a way to change the base language now?

Thank you!
  • jcpsarsi
  • jcpsarsi's Avatar
27 Mar 2024 19:52 - 27 Mar 2024 20:05
Query response table to check record was created by jcpsarsi
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.57
Own server or LimeSurvey hosting: limequery hosting
Survey theme/template: vanilla
==================
Dear all,

I need to create an intake form for services with the following feature:
  1. An applicant fills out a question asking for the email
  2. Next, a query will be sent to the response table to see whether the applicant has applied for services.
  3. On the next question, only the services the applicant has not applied for will be displayed for selection
Is this possible? Thanks!

 
  • holch
  • holch's Avatar
27 Mar 2024 18:16
Replied by holch on topic shop in limesurvey
What is the "ordering side"? What is the "administrative side"?

Show us a small example of what you are doing as LSS file.

how do you send it via email?

You probably need to customize your email template, but show us what you are doing, then we can help much better.

Do not send the whole survey, create a small sample that shows the issues.
  • holch
  • holch's Avatar
27 Mar 2024 18:08
Replied by holch on topic need help with Emoji Answers
Please answer the questions at the beginning:
===========================
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:
===========================

You told us which version you used in the past, but not which version you currently use.
  • estupendu
  • estupendu's Avatar
27 Mar 2024 16:51
LimeSurvey not working after PHP update was created by estupendu
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.28.77
Own server or LimeSurvey hosting: Own Server
Survey theme/template: Irrelevant
==================
I have LimeSurvey installed on a centos server with linux.
Yesterday I made changes on PHP (7.3.33) and now I can only open the login page but I can't access the console.
Anyone ever happened something similar. Any ideas?
  • bunty.hardcastle
  • bunty.hardcastle's Avatar
27 Mar 2024 16:38
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.4.12 from 5.6.57
Own server or LimeSurvey hosting:  LS hosting
Survey theme/template: Bootswatch (extended)
==================
Hi
I'm just upgrading from v5 to v6 and this part of my question no longer works as expected.
The question asks about a piece of audio, so the audio needs to play for 3 seconds before the question appears, so that the participant has had time to hear some of the audio. 

So the survey waits for 3 seconds following the handleFirstPlay being delivered from the html audio player and then removes the 'hidden' class from the question.
The audio player is presented in the group and the js below is run in the first question of the group (survey presented group by group.)

In v5 this works perfectly, in v6, the question is presented before the audio even begins playing. 

The 'hidden' class is definitely added, and this class is working on other parts of the question, but it's no longer working here.

FYI: Filter HTML for XSS is switched off to allow js to run.

What has changed in the update that may cause this, and what's the solution?

Here's the code from the group source:
p><b>How do you feel about this genre of music?</b>(If the audio doesn't start automatically, press PLAY to start)</p>
<audio autoplay="" controls="" onplay="handleFirstPlay()" src="{AUDIOFILELOCN}SONGQ01.mp3"> </audio>

Here's the code from the question source:
<script type="text/javascript">
var hasitrun;
   // Function unhide the first Q three secs after the player is played
    function handleFirstPlay() {
      if (hasitrun != 1) {
        hasitrun = 1;
        if ($('#question{QID}.question-container:visible').length == 0) {
          $('#question{QID}').hide().delay(3000).removeClass('hidden').fadeIn(300);
        }
      }
    }
</script>

Group LS file attached.
  • okkhalid
  • okkhalid's Avatar
27 Mar 2024 16:30
need help with Emoji Answers was created by okkhalid
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)
Hello, in the past, we used 2.7 lime survey, and we posted this:
forums.limesurvey.org/forum/can-i-do-thi...113488-emoji-answers

We are not upgrading the last version, but the same code is not working anymore in the css.

we use have emjoy for the radio list, we have only few answers there.
so we added: with-emoji under each radio type question, under css classs, see attached.
 
then we applied this code to the templete css file:
Code:
.with-emoji .radio label::before,
.with-emoji .radio label::after {
  display: none;
}
 
.with-emoji .radio .label-text img {
  border: 4px solid #FFFFFF;
  box-sizing: content-box;
  -moz-transition: border-color 350ms ease; 
  -o-transition: border-color 350ms ease; 
  -webkit-transition:border-color 350ms ease; 
  transition: border-color 350ms ease;
}
 
.with-emoji .radio .label-text:hover img {
  border-color: #ECF0F1;
}
 
.with-emoji .radio input[type="radio"]:checked + label + .label-text img {
  border-color: #233140;
}
 

Everything is working.
 

now after the upgrade, we did the same steps but its not working, please kindly help if you can.
Displaying 166 - 180 out of 1226 results.

Lime-years ahead

Online-surveys for every purse and purpose