Hi folks
I want to prefill a multiple-choice question from the URL, but I can't get it working. I've tried the suggestions on these pages:
www.limesurvey.org/manual/Workarounds:_S...using_the_survey_URL
www.limesurvey.org/manual/Expression_Man...code_Variable_Naming
I exported a survey result with question and answer codes. The first question in the first group is identified in the exported data like this:
question code: groups[5393]
answer code: Y
I've tried these URLs (I've removed the base URI for clarity):
.../index.php/survey/index/sid/925635/newtest/Y/lang/en?groups[5393]=Y
.../index.php/survey/index/sid/925635/newtest/Y/lang/en?groups[5393]=1
.../index.php/survey/index/sid/925635/newtest/Y/lang/en?groups[5393]="Y"
.../index.php/survey/index/sid/925635/newtest/Y/lang/en?groups[5393]='Y'
.../index.php/survey/index/sid/925635/newtest/Y/lang/en?groups_5393='Y'
.../index.php/survey/index/sid/925635/newtest/Y/lang/en/groups/5393/Y
.../index.php/survey/index/sid/925635/newtest/Y/lang/en/groups[5393]/Y
.../index.php/survey/index/sid/925635/newtest/Y/lang/en/groups?5425=Y
Also tried the SGQA identifier:
.../index.php/survey/index/sid/925635/newtest/Y/lang/en/925635X1X536X5393/1
.../index.php/survey/index/sid/925635/newtest/Y/lang/en?925635X1X536X5393=Y
.../index.php/survey/index/sid/925635/newtest/Y/lang/en?925635X1X536X5393='Y'
.../index.php/survey/index/sid/925635/newtest/Y/lang/en?925635X1X536X5393='1'
This worked for a different, single-choice drop-down list question:
.../index.php/survey/index/sid/925635/newtest/Y/lang/en/School/5393
So I know passing answers via the URL *should* work.
thanks for any help!