Hi,
unfortunately the quota management system of LS is a bit basic.
Inside the survey you have no access to values like:
quota_Target (in your case 50)
quota_Done (how many cases are already done in this quota)
quota_Todo (how many cases are still open in this quota).
This is something that could solve your problem.
But there is something you can do:
If you have some knowledge of php and SQL - and you have access to the LS database - you can use an ajax call.
Before this question create a question (let's say of type "short text" with code "QQuota")
In this question you enter:
Code:
<script type="text/javascript" charset="utf-8">
$(document).on('ready pjax:scriptcomplete',function(){
$.post('https://www.domain.de/test/getQuota.php' , { sid: "{SID}", gid: "{GID}", qid:"[here enter the question ID of the keynote question]" },function(data) {
$('#question{QID} input[type="text"]').val(data)
});
// $('#question{QID}').hide();
});
</script>
The php script "getQuota.php" now queries the database and - that's my idea - returns a string like "010" or "100", or
meaning:
1st character = 0 -> quota of Speaker A not full, =1 -> quota of Speaker A full
2nd character = 0 -> quota of Speaker B not full, =1 -> quota of Speaker B full
...
Now you can show or hide the "Speakers" by subquestion relevance like
"Speaker A" : substr(QQuota,0,1)=="0"
Best regards
Joffm