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

approving a answer by a password that is different to token - by: tpartner

$
0
0
I don't see anything in the script to cause that. If you have not set a default answer for the question it may be caused by your browser.

Help with remote control add response - by: afocal

$
0
0
Thank you. We use Limesurvey in order to record and analyse data from some html / php survey which don't use the Limesurvey Interface / ergonomy. For us, that is easier / faster than study an umpteenth templates / themes system... We don't need to identify users (anonym surveys). So, thousands users will participate to our surveys (thus we 'run the survey'), and we are going to use 'tokens' in order to prevent from duplicated answers. Therefore, do you confirm me that 'seeds' are not relevant for us? Is it only a technical data for developpers of Limesurevey's team?

Array question with answers in dropdown list - by: anaidgh

$
0
0
Hi, Tony, thanks for the fast answer, sorry i want to replay in the first post, the one with the next code:

<script type="text/javascript" charset="utf-8">

$(document).on('ready pjax:scriptcomplete',function(){

$('#question{QID} .answer_cell_SQ001 option[value=1]').text('No recurro');
$('#question{QID} .answer_cell_SQ001 option[value=2]').text('Arocena Gustavo');
$('#question{QID} .answer_cell_SQ001 option[value=3]').text('Aspra Manuel');
$('#question{QID} .answer_cell_SQ001 option[value=4]').text('Bravo Ricardo');
$('#question{QID} .answer_cell_SQ001 option[value=5]').text('Zalazar Martin');

$('#question{QID} .answer_cell_SQ002 option[value=1]').text('No recurro');
$('#question{QID} .answer_cell_SQ002 option[value=2]').text('Bravo Ricardo');
$('#question{QID} .answer_cell_SQ002 option[value=3]').text('Fernandez Flavio');
$('#question{QID} .answer_cell_SQ002 option[value=4]').text('Zalazar Martin');
$('#question{QID} .answer_cell_SQ002 option[value=5]').text('').hide();

});

</script>


I want to create this array, (with three types of inputs)

Student / Professor feedback multiple surveys - by: jarlrmai

$
0
0
Thanks guys, I already have a local install working but rather than waste my time doing things the wrong way I wanted to make sure there were no easier ways.

I also wanted to say that the responsiveness and verbose nicely written responses to my queries has really made me feel good about the product and community so thanks for that.

Repeating Questions - by: holch

$
0
0
Not possible without copying the questions X times.

But what you could think of is creating various surveys and conecting them. At the end of each survey per employee you just set a question if they have another employee.

But: If the possibility exists, that they have to fill in up to 200 forms (that is actually crazy, do those people actually work or just fill in surveys about their employees???) I would probably send separate surveys so they can do this research bit by bit and don't have to do it in one big survey. For 2 or 3 ok. If there are only few questions, maybe also 10, but up to 200 in one survey?

Help with remote control add response - by: jelo

$
0
0

Joffm wrote: "seed" is the "initial value of randomization".

Are you aware of a explanation of the exact purpose in LS3?

I only found this in the release notes:

New feature: Store random seed with each response, making it possible to render the exact same order of questions and groups when respondent loads survey.

How to enable token persistance AND limit to only 1 response - by: DeveloperChris

$
0
0
If limesurvey wasnt an on premise offering, we would be building bespoke. When it comes to security saas is dead in my eyes.

With some of our clients it must be on prem and it must be secure.

Three part question - by: tpartner


Help with remote control add response - by: afocal

equation question - syntax issue - by: tpartner

Array question with answers in dropdown list - by: tpartner

$
0
0
So, you only want to show a numeric input in row 4 if a specific value is selected in row 3?

Array question with answers in dropdown list - by: anaidgh

Bulk export of surveys? - by: holch

$
0
0
I have an old test installation with LS 2.06 LTS running. There are no really important surveys on it, but I have quite a few test surveys there, with solutions for specific problems from the forum, etc. (a lot of Tpartners workarounds, etc.).

So I guess it is time to update this installation, but before that I would actually like to export those test surveys as LSS files. However, there are so many, that it would be quite annoying to have to do this one by one.

I already did a backup of the database, but I would also like to have the LSS files, if possible.

Is there a way to export more than one survey at once or do I really have to go one by one?

Array question with answers in dropdown list - by: tpartner

$
0
0
This script will only show the input elements in row-4 if a specific value is selected in row 3. In this case, I have set the value to "4". Modify the "showValue" variable as required.

<script type="text/javascript" charset="utf-8">
 
	$(document).on('ready pjax:scriptcomplete',function(){
		var thisQuestion = $('#question{QID}');
 
		// Insert selects into row 2
		if($('tr.subquestion-list:eq(1) .answer-item .inserted-select', thisQuestion).length == 0) {
			$('tr.subquestion-list:eq(1) .answer-item', thisQuestion).addClass('with-select').append('<select class="inserted-select form-control list-question-select">\
				<option value="">Please choose...</option>\
				<option value="1">Yes</option>\
				<option value="2">No</option>\
				<option value="3">Do not know</option>\
			</select>');
		} 
 
		// Insert selects into row 3
		if($('tr.subquestion-list:eq(2) .answer-item .inserted-select', thisQuestion).length == 0) {
			$('tr.subquestion-list:eq(2) .answer-item', thisQuestion).addClass('with-select').append('<select class="inserted-select form-control list-question-select">\
				<option value="">Please choose...</option>\
				<option value="1">Red</option>\
				<option value="2">Blue</option>\
				<option value="3">Pink</option>\
				<option value="4">Show row-4 input</option>\
			</select>');  
		} 
 
		// Listeners on select elements
		$('.inserted-select', thisQuestion).on('change', function(i) {
			if($(this).val() != '') {
				$(this).closest('.answer-item').find('input:text').val($.trim($('option:selected', this).text())).trigger('change');
			}
			else {
				$(this).closest('.answer-item').find('input:text').val('').trigger('change');
			}
		});
 
		// Returning to page
		$('.with-select input:text', thisQuestion).each(function(i) {
			var thisCell = $(this).closest('.answer-item');
			var inputText = $.trim($(this).val());
			var selectval = $('select.inserted-select option', thisCell).filter(function () { return $(this).html() == inputText; }).val();
			$('select.inserted-select', thisCell).val(selectval);
		});
 
		// Numeric only in row 4
		$('tr.subquestion-list:eq(3) input:text', thisQuestion).on('keyup change', function(e) {
			var thisValue = $.trim($(this).val());
			if($.isNumeric(thisValue) === false) {
 
				// Strip out non-numerics characters
				newValue = thisValue.replace(/\D/g,'');
				$(this).val(newValue);
				checkconditions($(this).val(), $(this).attr('name'), 'text');
			}
		});
 
		// Hide row-4 inputs unless a specific value selected in row 3
		var showValue = '4';
		// Listener on row-3 selects
		$('tr.subquestion-list:eq(2) select', thisQuestion).on('change', function(e) {
			var thisValue = $(this).val();
			var thisCode = $(this).closest('.answer-item').find('input:text').attr('id').split('_')[1];
			var otherInput = $('tr.subquestion-list:eq(3) .answer_cell_'+thisCode+' input:text', thisQuestion);
			if(thisValue == showValue) {
				$(otherInput).show();
			}
			else {
				$(otherInput).hide().val('');
				checkconditions($(otherInput).val(), $(otherInput).attr('name'), 'text');
			}
		});
		// Initial states of row-4 inputs
		$('tr.subquestion-list:eq(3) input:text', thisQuestion).hide();
		$('tr.subquestion-list:eq(2) .inserted-select', thisQuestion).each(function(i) {
			var thisValue = $(this).val();
			var thisCode = $(this).closest('.answer-item').find('input:text').attr('id').split('_')[1];
			var otherInput = $('tr.subquestion-list:eq(3) .answer_cell_'+thisCode+' input:text', thisQuestion);
			if(thisValue == showValue) {
				$('tr.subquestion-list:eq(3) .answer_cell_'+thisCode+' input:text', thisQuestion).show();
			}
		});
 
		// Clean-up styles
		$('select.inserted-select', thisQuestion).css({
			'max-width': '100%'
		});
		$('.with-select input:text', thisQuestion).css({
			'position': 'absolute',
			'left': '-9999em'
		});
	});
</script>

Sample survey attached:

File Attachment:

File Name: limesurvey_survey_8858863.lss
File Size: 29 KB

Bulk export of surveys? - by: nickjhones

$
0
0
This survey is very important for the case of testing and testing software updation. data recovery dubai help you to do this and it also provides data backup so there is no way of data loss.

Student / Professor feedback multiple surveys - by: Joffm

$
0
0
Hi,
here is a small sample survey, that IMO does everything you would like to have.

File Attachment:

File Name: limesurvey_survey_157222.lss
File Size: 26 KB

The professors' codes are "P1" - "P4". All other are screened out.
Because quota only work in an activated survey, you only see a text display of the termination.

And as result:

As you see, student "Adam Ant" was rated by two profs.

Very well ordered to analyze, e.g. by Pivot.
Like here. Means of the array question.


Best regards
Joffm

How do I get the description of a survey from the limesurvey's API - by: tpartner

Adding "other" to a multiple numerical input - by: rvelazco

$
0
0
Hi,

I am trying to do something similar what LeftyMouse pictured in some comments before.

I have a multiple numercial input with 5 subquestions, all of them need to sum 100, but i would like to put an "other" option where the user could add any description and put a number that affects the sum. (The sum must be always 100).

So in resume, the example could have 6 subquestions, with the other with two input texts: description and numerical.

I dont know if I explain myself, but if you could help me i would appreciate a lot.

Ivan

Is there a LimeSurvey API endpoint to get assessment scoring? - by: DenisChenu

$
0
0
No, since it's not saved in DB.

Quick (and easy) solution : add an equation question with just


for equation

Customer satisfaction survey - by: santoshkumar

Viewing all 17529 articles
Browse latest View live


Latest Images

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