Welcome, Guest
Username: Password: Remember me

TOPIC: Bold current question or add a check mark when answered

Bold current question or add a check mark when answered 1 year 13 hours ago #105892

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4574
  • Thank you received: 900
  • Karma: 401
Export the complete template and attache the zip file.

Capture5.png
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 1 year 13 hours ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: katgatita

Bold current question or add a check mark when answered 1 year 13 hours ago #105894

  • katgatita
  • katgatita's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Hi Tony,

Please see attached. Thank you!

Kat
Attachments:
The administrator has disabled public write access.

Bold current question or add a check mark when answered 1 year 12 hours ago #105895

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4574
  • Thank you received: 900
  • Karma: 401
Add this to the end of template.js:

	$(document).ready(function() { 
 
		$('.ranking.dragDropRanking .ui-sortable').sortable('option', 'stop', function(event, ui) {
			var qID = $(this).closest('.ranking.dragDropRanking').attr('id').split('question')[1];
			$('#sortable-choice-'+qID+'').sortable('refresh');
			$('#sortable-rank-'+qID+'').sortable('refresh');
			updateDragDropRank(qID);
			if($('#sortable-rank-'+qID+' li.choice').length > 0) {
				markAnswered($('#question'+qID));
			}
			else {
				markUnanswered($('#question'+qID));
			}
		});
	});

Here is your template back with that change incorporated and renamed to "PREP_Bold_2.0_TP":

File Attachment:

File Name: PREP_Bold_2.0_TP.zip
File Size: 118 KB
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: katgatita

Bold current question or add a check mark when answered 1 year 12 hours ago #105897

  • katgatita
  • katgatita's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Hi Tony!

It is perfect! Thank you so much for your help! You rock!

Kat :laugh:
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.122 seconds
Donation Image