I have a design issue regarding a network survey that I am trying to build. In this scenario, what you do is ask participants some questions and they will have to pick the names of other participans as answers.
I think I can use a multiple-answers question to accomplish this, but I have currently no idea how to prefill the sub-questions array with the names of the survey participants.
Best would be to have the id of each participant be assigned as the code for that answer.
...I have currently no idea how to prefill the sub-questions array with the names of the survey participants.
There is no way to directly access the details of other tokens from a survey. If you need these names dynamically populated, you will have to make an AJAX call to a remote PHP script that queries the database.
Best would be to have the id of each participant be assigned as the code for that answer.
You can not dynamically add/modify sub-question codes - they must be defined before survey activation.
Cheers,
Tony Partner Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.