- Posts: 14
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
See the last parameters : statCount(QuestionCode.sgqa[, submitted = true])It looks like this function only counts submitted /filled out responses as well as the statCount function.
Because we don't have clean way to get column name by question code.Just wondering: why does one have to add .sgqa? Or are there also other additions?
Tammo
Try enabling public statistics. I seem to remember that in some older versions this kept the session alive into the end page.However, it does not seem like the functions are working on that part of the survey.
With getStatInSurvey : it never work
Try enabling public statistics. I seem to remember that in some older versions this kept the session alive into the end page.However, it does not seem like the functions are working on that part of the survey.
<script> $(document).on('ready pjax:scriptcomplete',function(){ // Identify this question var thisQuestion = $('#question{QID}'); // Fill the array $('input[type=text]', thisQuestion).val( {'[SCORE.moy2]'} ); // Or whatever $('#question{QID}').hide(); }); </script>