Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Disable previous button by group?

Disable previous button by group? 2 years 6 months ago #108505

  • jessicar64
  • jessicar64's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Is there a way to disable the previous button for certain groups? Once a respondent makes it past a certain point, I don't want them to be able to go back. I do want to allow them to go back within a cluster of groups. (Essentially, I need meta-groups with no way to go back to a previous meta-group. But I need data from the previous meta-group so I can't make them separate surveys, or?)
The administrator has disabled public write access.

Disable previous button by group? 2 years 6 months ago #108516

  • jelo
  • jelo's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1501
  • Thank you received: 205
  • Karma: 58
This can be done via Javascript. Put in on every page (perhaps in the group section text box as html)
to hide the previous button.
<script type="text/javascript" charset="utf-8">		
	$(document).ready(function(){		
		$('#moveprevbtn').hide();
	});
</script>
The administrator has disabled public write access.
Time to create page: 0.212 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form