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 8 months 3 weeks ago #105892

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4371
  • Thank you received: 829
  • Karma: 381
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: 8 months 3 weeks 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 8 months 3 weeks 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 8 months 3 weeks ago #105895

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4371
  • Thank you received: 829
  • Karma: 381
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 8 months 3 weeks 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.110 seconds
Donation Image