I hope I am correct if I suppose all your daytime activities are in one question of type Slider and that the following questions for each activity are always the same.
1) Create an array of all your responses like this:
`var timePercent = ["${q://QID16/ChoiceNumericEntryValue/1}" , "${q://QID16/ChoiceNumericEntryValue/2}", ..., "${q://QID16/ChoiceNumericEntryValue/20}"]`
(Be aware, you can"t use for loop to get this array, for more details see
here)
2) Create the array of your activity names in the same order in the format you want to use in following questions. (You can do it based on this piped text` "${q://QID1/ChoiceGroup/AllChoices?displayLogic=0}"`) if the form is the same as in the original question.)
3) Get indexes of top 5 elements of the array of responses and get corresponding activity names.
4) Concatenate the array into one string and send it to an embedded field.
5) Create a new loop and merge block containing questions on activities. In JavaScript ot this Question do something like this but use the string from embedded field split to array again instead a new array.
Qualtrics.SurveyEngine.addOnload(function()
{
var x = Number("${lm://CurrentLoopNumber}")-1;
var myArray = ["A", "B", "C"];
{jQuery(this.getQuestionTextContainer()).append("Some text "+ myArray[x])}
});
P.S.: I used single quotation marks instead of double ones, but I am not able to use them at this forum from an unknown reason. The code sometimes does not work with double ones as piped text is processd first.