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

The same random order - by: tpartner

$
0
0
LimeSurvey version?

Are both questions on the same page and sequential?

Autocompleted Address breakdown into multiple fields - by: Joffm

$
0
0
Hi,

you can use some equations with functions "strpos" and "substr" to find the delimiters between the parts of the address and then get the part with "substr".

How does this string look like? How do you want to split exactly? Please, give an example.

Best regards
Joffm

Autocompleted Address breakdown into multiple fields - by: tpartner

$
0
0
How are you implementing the address look-up? If using the reverse Geocoding API, the returned "formatted_address" string may not always be structured the same - from the documentation: "The "formatted_address" results are not just postal addresses, but any way to geographically name a location.". Due to this, it may not be safe to parse the string with Expression Manager. You might want to access the elements of the returned "address_components" array directly.

The same random order - by: tpartner

$
0
0
Yup, that's why I asked about the survey structure. :)

ipad/iphone and ranking question - by: LouisGac

Only display the answer options in ranking if answer in array is in first column - by: Joffm

$
0
0
Hi, kaugurs,

either ask question by question
or put the ranking into a separate group.

I created a new group G2 put the ranking into it.

See the result.



Best regards
Joffm

To be honest: I nearly always ask question by question and therefore do not think about different scenarios.

The same random order - by: holch

$
0
0
You should definitely make an upgrade. RC stands for "Release Candidate", so it is not even a stable version of Limesurvey. This should not be used for production.

Only display the answer options in ranking if answer in array is in first column - by: kaugurs

$
0
0
Oh, sorry! I did not get that immediately.
THANK YOU A LOT! It works perfectly.

Autocompleted Address breakdown into multiple fields - by: tpartner

$
0
0
Can you attach a small sample survey.

Survey Title - by: RicardoEquivel

$
0
0
Hola Buenas Noches , No se quien lee este mensaje , estaba viendo encontrar una ocupacion desde la pc , y no estoy entendiendo de que se trata esta pagina , como que quieren cobrar por algo que uno ignora, estaba tartando de encontrar umna ocupacion y toda esta informacion me tienen trabado .... me apena :seco: :seco:

Unchecking excluded checkboxes - by: Andrea01

$
0
0
Hi Tony,

for your script:

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

$(document).ready(function() {

// Identify this question
var thisQuestion = $('#question{QID}');

// Add some classes
$('.question-item:not(:last)', thisQuestion).addClass('non-exclusive-item');
$('.question-item:last', thisQuestion).addClass('exclusive-item');

// Handle exclusive items
$('input.checkbox', thisQuestion).on('change', function(e) {
if($(this).is(':checked')) {
var actionItems = $('.non-exclusive-item', thisQuestion);
if($(this).closest('.question-item').hasClass('non-exclusive-item')) {
actionItems = $('.exclusive-item', thisQuestion);
}
actionItems.each(function(i) {
$('input.checkbox', this).prop('checked', false).trigger('change');
$('input:hidden', this).attr('value', '');
$('input[type="text"]', this).val('').trigger('keyup');
});
}
});

});
</script>

Is there a way to handle two exclusive options???

Thanks and best regards
Andrea

Random question order in PDF/printed surveys? - by: MichU

$
0
0
Hi folks, in my online survey item groups (personality traits, psychological skills etc) are displayed in random order. Some participants do not have web access. How can I use a printed/PDF version that also displays questions in random order to avoid similar items in a row. Thanks for your help!

Adding components to file upload modal - by: krosser

$
0
0
Again, this is not clear if it would be possible for users who don't have the LS installed on their servers.
When you talk about the live server, what do you refer to?

Adding components to file upload modal - by: LouisGac

The same random order - by: tpartner

$
0
0
If the questions are on the same page and sequential, in 2.x, you can add this script to the source of the first question.

<script type="text/javascript" charset="utf-8">
 
	$(document).on('ready pjax:scriptcomplete',function(){
 
		// Identify the questions
		var q1ID = {QID};
		var q1 = $('#question'+q1ID);
		var q2 = $(q1).nextAll('.multiple-opt:eq(0)');
		var q2ID = $(q2).attr('id').replace(/question/, '');
 
		// Loop through the Q1 sub-questions
		$('div.answer-item', q1).each(function(i) {
			// Move the corresponding Q2 sub-question
			var thisCode = $(this).attr('id').split('X'+q1ID)[1];
			$('div.subquestion-list', q2).append($('div.answer-item[id$="X'+q2ID+thisCode+'"]', q2).parent());
		});
    });
</script>

Sample survey attached:

File Attachment:

File Name: limesurvey_survey_748898_2018-07-16.lss
File Size: 19 KB

Conditioning groups with a multiple choice question - by: sisc2112

$
0
0
Thank you so much for your fast and helpful answer - it works now!

Remove Spaces from Text Input - by: DenisChenu

$
0
0

teracomp wrote: Seems that spaces are 99% of my problem, so might be all I need.
Where do I add the equation? I've tried: {str_replace(" ","",userdata_email)} in the question "sub-question validation expression" but that does not appear to fire...at least not in the Preview Question interface.

To use subquestion validation, you need something like this

str_replace(" ","",userdata_email) == userdata_email

tpartner and Joffm propose you to fix the value when user click next.

Two Related Dropdown Menu - by: DenisChenu

Autocompleted Address breakdown into multiple fields - by: davidg1982

Unchecking excluded checkboxes - by: Andrea01

$
0
0
Thank you Tony, perfect as always.

Andrea
Viewing all 17529 articles
Browse latest View live