The simplest method would be to record the timings in the data and generate the scores in post-survey analysis.
-
www.limesurvey.org/manual/Notifications_...data/en#Save_Timings
If you need the scores dynamically in the survey, you can:
1) Add a short-text question to every scored question group.
2) Enable timers on the short-text questions.
3) Add this script to the source of each short-text question. It will hide the text input and update it with the remaining time (in seconds) every second.
Code:
<script type="text/javascript" data-author="Tony Partner">
$(document).on('ready pjax:scriptcomplete',function(){
// Identify this question
var thisQuestion = $('#question{QID}');
// Hide the text input
//$('.answer-container .text-item', thisQuestion).hide();
// A function to parse the timer time and load the text input
function updateTime() {
var aTimerTime = $.trim($('.ls-timer-time', thisQuestion).text()).split(':');
var seconds = (Number(aTimerTime[0])*3600)+(Number(aTimerTime[1])*60)+Number(aTimerTime[2]);
$(':text.form-control', thisQuestion).val(seconds).trigger('keyup');
}
setTimeout(function() {
// Record the initial timer time
updateTime();
// Update the recorded time every second
setInterval(updateTime, 1000);
}, 50);
});
</script>
Here is a sample survey in which I have left the text input visible for testing purposes: