Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all 17529 articles
Browse latest View live

No admin email notifications - by: tpartner


emoji answers - by: tpartner

$
0
0
Something like this:

.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;
}

Partially randomize multiple choice answers - by: carolidick

$
0
0
I would like to ask a question with multiple choice options, where all alternatives are always randomized, except for the last 2.

I know the alternative "Other" is automatically put at the end of the questionnaire, but is it possible to apply it for another option too?

For example for answers 8 and 9 below:

Which is your favorite letter?

1) A
2) B
3) C
4) D
5) E
6) F
7) G
8) I don't know or want to answer
9) Other: (text box)


Thanks!

Matrix where some subquestions got comments - by: McTell

$
0
0
Version 2.00+ Build 130514

but maybe at some point our institutes uses a different hoster, that uses Version 2.72.5+171121 and upgrades much more eagerly...

I’d prefer responding for 2.00, though.

many thanks,
mctell

Add multiples questions at once - by: ferdeng

$
0
0
Hi all,

I read some things about adding multiple questions at once. From what I understood, this is not possible. What could work is the manipulation of the LSS backup file - I took a look at it but it seems to be very complex.

What I actually need is to ask 1 out of a few hundred questions - so I thought to add all questions at once to one category and make Limesurvey pick one of them randomly in every survey. Naturally, I don't want to copy all of these questions manually into the interface.

Is there an easy way to do this? Or at least an explanation about the structure of backup files?
Thanks in advance

Add multiples questions at once - by: LouisGac

$
0
0
LimeSurvey doesn't have a loop question type. Jelo insisted a lot about how useful would be such a feature, so it's highly possible will offer a way to do it in the future.

For now, I see 2 different solutions to your problem:

1. Use the "copy question functionality". It will copy the whole question ("categories", etc), and then you'll just have to edit the question text

2. If you have some coding/script skills, you can also work directly on the lss files. Create a survey with 3 or 4 of the 100 questions, then export the survey as a lss archive. It's indeed an XML file that you can open with any editor. Then, you can write a script (or even an excel macro) to create the 100 questions, and directly edit the question text in the file.

Depending on your coding skills, 2 can be faster than 1. Whatever: it will be funnier, and you'll can reuse those script for further surveys.

Matrix where some subquestions got comments - by: LouisGac

$
0
0
2.0.x has known critical vulnerabilities.
Your institute should update as soon as possible.

Drag and drop files for "file upload" question type? - by: LouisGac


Add multiples questions at once - by: LouisGac

Matrix where some subquestions got comments - by: tpartner

$
0
0
I agree that you should update.

I cannot test on 2.0, but this should work...

1) Create the array question.

2) Add a multiple-short-text question after the array with sub-question codes identical to those of the array where you want the text inputs inserted.

3) Add the following script to the source of the array question. The script will hide the multiple-short-text question and add its question text and text inputs to the corresponding array rows.

<script type="text/javascript" charset="utf-8">
	$(document).ready(function(){
 
		// Identify the questions
		var q1ID = '{QID}';
		var thisQuestion = $('#question{QID}');
		var nextQuestion = $(thisQuestion).next('div[id^="question"]');
		var q2ID = $(nextQuestion).attr('id').replace(/question/, '');
 
		// Hide the multi-text question
		$(nextQuestion).hide();
 
		// Add extra cells to the array rows
		$('.subquestions-list thead tr', thisQuestion).append('<th />');
		$('.subquestions-list tbody tr', thisQuestion).append('<td />');
 
		// Move the multi-text question text to the last column header cell of the array
		$('.subquestions-list thead tr th:last', thisQuestion).text($('.questiontext', nextQuestion).text());
 
		// Move the text inputs
		$('input.text', nextQuestion).each(function(i){
			var thisCode = $(this).attr('id').split('X'+q2ID)[1];
			$('.subquestions-list tbody tr[id$="X'+q1ID+thisCode+'"] td:last', thisQuestion).append(this);
		});
 
		// Some cleanup styles
		$('col', thisQuestion).css({
			'width': 'auto'
		});
		$('.subquestions-list tbody th, .subquestions-list tbody td', thisQuestion).css({
			'padding': '4px 10px'
		});
	});
</script>


This script will work for 2.7x and 3.x:

<script type="text/javascript" charset="utf-8">
	$(document).ready(function(){
 
		// Identify the questions
		var q1ID = '{QID}';
		var thisQuestion = $('#question{QID}');
		var nextQuestion = $(thisQuestion).next('div[id^="question"]');
		var q2ID = $(nextQuestion).attr('id').replace(/question/, '');
 
		// A class for the array question
		$(thisQuestion).addClass('with-inserted-texts');
 
		// Hide the multi-text question
		$(nextQuestion).hide();
 
		// Add extra cells to the array rows
		$('.subquestion-list thead tr', thisQuestion).append('<th class="text-center" />');
		$('.subquestion-list tbody tr', thisQuestion).append('<td />');
 
		// Move the multi-text question text to the last column header cell of the array
		$('.subquestion-list thead tr th:last', thisQuestion).text($('.questiontext', nextQuestion).text());
 
		// Move the text inputs
		$('input[type="text"]', nextQuestion).each(function(i){
			var thisCode = $(this).attr('id').split('X'+q2ID)[1];
			$('.subquestion-list tbody tr[id$="X'+q1ID+thisCode+'"] td:last', thisQuestion).append(this);
		});
 
		// Insert some styles 
		var newStyles = '.with-inserted-texts col { \
							width: auto !important; \
						} \
						.with-inserted-texts .subquestion-list tbody th,\
						.with-inserted-texts .subquestion-list tbody td { \
							padding: 4px 10px; \
						} \
						.with-inserted-texts .subquestion-list tbody th,\
						.with-inserted-texts .subquestion-list tbody td { \
							height: 50px; \
							vertical-align: middle; \
						} \
						.with-inserted-texts .radio label::before,\
						.with-inserted-texts .radio label::after { \
						}';
		$('head').append('<style type="text/css">'+newStyles+'</style>');
	});
</script>

Partially randomize multiple choice answers - by: tpartner

Freeze a text field once it's been answered/saved - by: mascarpone

$
0
0
Exactly holch, users could edit these fields as much as they want until they move to the next page/save the results in the DB. Then on, these results would only be visible but no longer editable (basically the greying would only apply to fields that already contain a value)

Is that clearer at all?

I'm not using the correct syntax. - by: moisespaivaspi

$
0
0
Good afternoon.

I am trying to implement a final report in my survey as exemplified in one of the attached images. The problem is that I am not being able to correctly use the syntax to appear the desired results such as:

"Your Institution of affiliation is a {question 1 code} and your personal Role / Position therein is {question 2 code}.

Can someone help me with the syntax needed for my examples?

Thank you very much.
Best regards.

Simple Admin Front-end - by: Bradleyfshepherd

$
0
0
I'm looking into ways to simplify my university's course evaluation process. The current evaluation process involves paper evaluations, erroneous results, and wasted time.


What I'm trying to do is create some kind of admin walk-through page for instructors to construct a course evaluation for each course he/she taught during the semester. Almost like a survey for creating a survey. The survey would be saved in a database of course evaluations for the semester and sent out to students at the end of the semester.

I imagine the flow to be similar to the following:

1. Near the end of the semester, each instructor would be sent an email with a custom link to an evaluation construction page specific to a course he/she taught that semester.
2. The instructor is asked a series of questions (e.g. "did your course use a lab?" or "did your course use a teaching assistant?").
3. A custom course evaluation would be created automatically based on the instructor's responses to these questions.
4. At the end of the survey, there may be an overview displaying the evaluation the instructor created. In this page, the instructor would be able to add custom questions (either predefined using a search or written in).
5. When the instructor is done, the survey is saved in a database where it can be used to send to students later.


Is this possible with LimeSurvey? If not, are there other solutions that could help with this? Thanks in advance.

No admin email notifications - by: reno123

$
0
0
In my case, it was themplate.

I was using bootswatch" themplate, I just change it to oryginal default ("friuty") and it starts work.

BTW. The "bootswatch" themplate do not starts in Edge browser.

Getting Assessment Results Without Message to User - by: holch

$
0
0
Both, more or less. ;-)

It is a question of the type "Equation", hidden by "Always hide".

No admin email notifications - by: LouisGac

$
0
0
well there is no relation at all between survey themes and emailing so it sounds very strange...

btw, you should update to 3.1.x

I'm not using the correct syntax. - by: holch

$
0
0
No, that doesn't help much. Because the screen print doesn't show your question and subquestion codes, etc. But with my hint and a look at the manual pages regarding the expression manager, you should be easily able to create your report.

Partially randomize multiple choice answers - by: carolidick

Matrix where some subquestions got comments - by: tpartner

$
0
0
Can you activate a test survey and give a link?
Viewing all 17529 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>