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

can i categorise surveys? - by: Ben_V

$
0
0
Hi,
It's a quiet old request in this forum.

I've seen your other post about the control of surveys IDs (SID) and I think you can probably use jQuery to hide or show a link based on the SID related digits contained in the [href] attribute... Maybe a good start to sort your surveys by categories.

Place all your code in the surveylist.pstpl file of your installation default template...playing around the following approach:
<div id="category_123" class="marketing">
	<h2>Marketing</h2>
	{SURVEYLIST}
	<!-- Only links with SID starting  with "123" are shown -->
</div>
 
<div id="category_456" class="hr">
	<h2>Human resources</h2>
	{SURVEYLIST}
	<!-- Only links with SID starting  with "456" are shown -->
</div>
 
<div id="category_789" class="quality">
	<h2>Quality control-</h2>
	{SURVEYLIST}
	<!-- Only links with SID starting  with "789" are shown -->
</div>

Viewing all articles
Browse latest Browse all 17529

Trending Articles