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

Quotas on age range equation from age question - by: tpartner

$
0
0
Two problems...

1) If you want to dynamically manipulate questions, you cannot hide them with the advanced question setting - in that case, they are never rendered in the HTML so cannot be manipulated. If using version 2.5 or newer they can be hidden via CSS by adding a question class "hidden".

2) You forgot to add the final (empty) condition in your nested IF statements seen here with line-breaks inserted for clarity:
SCREENC1=if(SCREENC.NAOK <= 18, "1",
  if(SCREENC.NAOK < 25, "2",
    if(SCREENC.NAOK < 29, "3",
	  if(SCREENC.NAOK < 34, "4",
	    if(SCREENC.NAOK < 44, "5",
		  if(SCREENC.NAOK < 49, "6",
		    if(SCREENC.NAOK < 54, "7",
			  if(SCREENC.NAOK > 55, "8",
			    ""))))))))

Here's a copy of your survey with those items fixed:

File Attachment:

File Name: limesurvey_survey_659392.lss
File Size: 18 KB

Viewing all articles
Browse latest Browse all 17529

Trending Articles



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