View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
13098Bug reportsExpression Managerpublic2018-05-23 11:15
Reportersimogeo Assigned ToLouisGac 
PrioritynoneSeverityblock 
Status closedResolutionunable to reproduce 
Product Version2.7x.x 
Summary13098: prefill checkboxes answer with question codes
Description

It seems it is not possible to prefill checkboxes from URL using question codes :

The following will not work :
index.php?r=survey/index&sid=747676&newtest=Y&lang=fr&q2={q2}&q3_SQ001={q3_SQ001}&q3_SQ002={q3_SQ002}&q3_SQ003={q3_SQ003}

using SGQA identifier will work as expected :

index.php?r=survey/index&sid=747676&newtest=Y&lang=fr&q2={q2}&747676X1X545SQ001={q3_SQ001}&747676X1X545SQ002={q3_SQ002}&747676X1X545SQ003={q3_SQ003}

Steps To Reproduce

Use attached survey to reproduce

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)Version 2.72.5+171121
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
Server OS (if known)Debian 4.9.51-1
Webserver software & version (if known)nginx/1.10.3
PHP VersionPHP Version 7.0.19-1

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2018-05-23 11:15

developer   ~47733

just tested and it works

Checkbox: <input type="checkbox" name="456557X8X274SQ002" id="answer456557X8X274SQ002" checked="" value="Y">

In url: ...&456557X8X274SQ002=Y will check it.

Issue History

Date Modified Username Field Change
2017-12-22 14:55 simogeo New Issue
2018-05-23 11:15 LouisGac Note Added: 47733
2018-05-23 11:15 LouisGac Assigned To => LouisGac
2018-05-23 11:15 LouisGac Status new => closed
2018-05-23 11:15 LouisGac Resolution open => unable to reproduce