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

The survey updates the page instead of moving on to the next group - by: Joffm

$
0
0
Why confused?
You have one huge group "Part2A" with all the question for our regions. LS has to calculate all which are displayed or not, because you display groupwise.

I propose instead "Part2A" of to have groups like: (that there is less to calculate, only country and inside ONE country the regions)

grAlbania: (group relevance: "Q1XCountry=="AL")

grAustria: (group relevance: "Q1XCountry=="AT")
  • Austria: (relevance: QDRxAustria="AT")
  • Burgenland: (relevance: QDRxAustria="AT11")
  • Niederösterreich: ...
grBelgium: (group relevance: "Q1XCountry=="BE")
  • Brussels:
  • Flandres
...


And then "Part2B"

Best regards
Joffm

The survey updates the page instead of moving on to the next group - by: Joffm

$
0
0
Hello, Moises,
therefore you should always create a sample before, where you check the relevances and all the logic.
Then you fill it with the rest.

Here is a sample how I'd design it.

File Attachment:

File Name: limesurvey_survey_641734.lss
File Size: 24 KB


Best regards
Joffm

By the way:
1.I hope you know about the column limits of MySQL.

2. And IMHO the amount of posted variables is much less if you split into several groups.
E.g. My provider has a max_input_vars value of 4000.

Overview page for respondents with a list of surveys they are invited to - by: socius

$
0
0
Hi!

@cairomckencie Alex, thank you so much for this solution and clear explanation, the well commented code and example, and your ideas to solve the rest of the problem :-) ! This is definitely more than helpful - it seems to be almost exactly what I'm looking for! In my case I wanted to allow the respondents to answer the surveys in their preferred order - but since that could lead to cherry picking interesting survey topics (each survey has a special topic) and (more) selective nonresponse, I think you solution would work well/better.

I will set this up asap. It will take me some time to completely understand the solution and the code, and to implement and test this (I'm not a programmer so this takes some days more :-) Maybe/sure questions arise on the way - I'll report my progress/success.

Seems I'll definitely have to get more knowledge on panel-integration and sharing/piping information between surveys, token tables and result tables and how-to use these to e.g. calculate the mentioned median time - I'm looking forward to dig this.

If there are other solutions to this "parent/children survey-problem" - they are all welcome :-)

@cairomckencie Thanks again!

Cheers,
G

Participant "Dashboard" Possible? - by: socius

$
0
0
Hi @limeAJ,

thanks for your response! Great. Yes I think reading the Limesurvey DB directly could also be a solution in my case - but since I'm not a programmer I better stay within Limesurvey ;-)

@cairomckencie came up with a great solution for a participant dashboard, i.e. a parent survey with a number of children-surveys - which seems exactly what I need - maybe it's also interesting for you: www.limesurvey.org/forum/can-i-do-this-w...re-invited-to#160831

If I come across questions for which I have to enter the DB directly I get back to you :-)

Cheers,
G

Overview page for respondents with a list of surveys they are invited to - by: cairomckenzie

$
0
0
Great! Happy to hear. More than willing to help troubleshoot if you run into any issues.

Alex.

Partially randomized answers (list radio type) in 2.50 - by: blocka

$
0
0
Awesome! Thanks so much, I've confirmed it works :-)

Change height of navbar - by: Robert1973

$
0
0
Hi there,

I would like to change the height (make it less high) of the top navbar of my survey. I'm not that familiar with the code, so I'm googling and doing attempts based on trial & error. But, without much luck. Does anyone know how to do this?

Below the navbar, I'm displaying an image as part of the question, but there's (too much) whitespace between the navbar and the image. Is there a way to change this?

Many thanks in advance, kind regards,
Robert Vloet

(Limesurvey Version 2.50+ Build 160219)

Change height of navbar - by: tpartner

$
0
0
What template are you using?

Can you provide a screenshot of the space you want removed and a link to a test survey?

hide a question in the printable format - by: tpartner

$
0
0
Try this (untested) workaround...

1) Give the question a class "print-hidden".


2) Add something like this to the end of print_template.css:

.print-hidden {
    display: none !important;
}

Automatically proceed to next question after selecting answer - by: tomtom

$
0
0
Hi Tony. Thank you for your great jobs. I can apply it on each raido question now. But I would like to set a "YES/NO" question for participant who will go next page if only press "NO", since they will dropdown another ordinal question for "YES" answer. Thank you.

Change height of navbar - by: Joffm

$
0
0
Hi, tomtom,

in the first link Luis provided is everything you need.


I just changed the min-height and height to the desired value just to see that it works.

Best regards
Joffm

Automatically proceed to next question after selecting answer - by: tpartner

$
0
0
If you want both questions on the same page and only the first radio of the first question triggers the submit, place this script in the source of the first question:

<script type="text/javascript" charset="utf-8">
	$(document).ready(function(){
 
		$('#question{QID} .answer-item:eq(0) input.radio:eq(0)').click(function() {
			checkconditions($(this).attr('value'), $(this).attr('name'), $(this).attr('type'));
			$('#movenextbtn, #movesubmitbtn').trigger('click');
		});
 
		$('#question{QID} .answer-item:eq(0) .label-clickable').unbind();
		$('#question{QID} .answer-item:eq(0) .label-clickable').click(function() {
			$('#question{QID} .answer-item:eq(0) input.radio').unbind();
			var input = $(this).parent().find('input.radio');
			$(input).trigger('click');
			checkconditions($(input).attr('value'), $(input).attr('name'), $(input).attr('type'));
			$('#movenextbtn, #movesubmitbtn').trigger('click');
		});
	});
</script>

Sample survey attached:

File Attachment:

File Name: limesurvey_survey_748898_2017-11-23.lss
File Size: 16 KB

hide a question in the printable format - by: mmirasol

$
0
0
Thank you. What version of lime was this added in? We are currently using Version 2.6.4-lts. And it doesn't look like css classes are in the question advanced settings.

Email Validation - by: jimcarter2605

The survey updates the page instead of moving on to the next group - by: moisespaivaspi

$
0
0
Hi Joff.

Thank you very much for your example. It's working perfectly and that's what I needed.
I wrote down your other issues and will talk to my superiors about this since I have some limitations to edit what is already done.

Thank you again because you have been a great help.
Best regards.

Add Colors in questions - by: Els_Severens

$
0
0
Hello

I also want to do something like that, but I cannot find what names my cells have. Can you tell me where I can find that?

thanks!

Track browser width with Limesurvey? - by: socius

$
0
0
Dear all,

thanks to @Ben_V and @tammo for this great solution! Works perfectly.

I just had some issues with a reimported survey (from tab separated txt file) - and found a solution:
  • In an exported/reimported survey the code does not work anymore.
  • In the process of the txt export the code gets rid of line feeds, so the whole javascript is reduced to one line.
  • The fix is simple - add two semicolons:

Change
var vpw = Math.max(document.documentElement.clientWidth, window.innerWidth || 0)
var vph = Math.max(document.documentElement.clientHeight, window.innerHeight || 0)

to
var vpw = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
var vph = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);

That's it.

Thanks again!

Best,
G

Add Colors in questions - by: Joffm

$
0
0
Hello,
you want to do something like that. What exactly?

And to answer your question about the names of cells:
Use a web inspector which is included in all new browsers.

But better to tell us what is different from the solution tpartner provided.

And - of course - your LS version.

Regards
Joffm

Change height of navbar - by: tpartner

$
0
0
To avoid messing with the whole template, I would simply give the image an inline style to push it up.

<img alt="" src="/bewustzijnmeter/kaarten/TFH-IC 1.1 Rust 3.jpg" style="width: 100%; margin-top: -50px;" />

hide a question in the printable format - by: tpartner

Viewing all 17529 articles
Browse latest View live


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