Hello,
I have the following problem:
In question B010 the user is asked to rank items in a selection. At least one item needs to be ranked to create a "standard" case.
In question B011 I want to present the selection of the selected items in descending order of their selection.
This code is executed on the page displaying B011 (subsequent page to the one with B010):
$itemlist = getItems('B010', 'min', 1); // List of relevant items
arsort($itemlist);
if (count($itemliste)>0) {
question('B011', $itemlist);
}
Here is my question: How can I copy the labels of the selected items of question B010 (ranking question) into the according items of the following question B011?
Thank you