View Issue Details

IDProjectCategoryView StatusLast Update
16699Feature requestsSurvey editingpublic2020-10-19 10:08
Reporterliumingjun Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary16699: Ability to set conditions/ExpressionScript for answer options
Description4.0 List Radio answer has no Condition,2.0 has Condition,why?
Tagsanswers

Activities

liumingjun

liumingjun

2020-09-28 10:52

reporter  

image.png (28,066 bytes)   
image.png (28,066 bytes)   
image-2.png (24,737 bytes)   
image-2.png (24,737 bytes)   
liumingjun

liumingjun

2020-10-10 05:30

reporter   ~60141

@DenisChenu,What is the reason?
DenisChenu

DenisChenu

2020-10-10 10:47

developer   ~60142

? If your 2.X version have it : it's an issue.
It never work.
liumingjun

liumingjun

2020-10-10 11:12

reporter   ~60143

I want to ask

q1 is a list radio
a_1
a_2
a_3

q2 is a list radio
a_11 a_22
a_33 a_44
a_55 a_66

if q1 select a_1,q2 display a_11,a_22 option
if q1 select a_2,q2 display a_33,a_44 option
if q1 select a_3,q2 display a_55,a_66 option

How to achieve this way?
liumingjun

liumingjun

2020-10-14 08:30

reporter   ~60187

@c_schmitz Is there a development plan for this feature?
DenisChenu

DenisChenu

2020-10-14 08:47

developer   ~60191

About array filter option for List radio : there are already an issue.

Whole system are done with javascript only, there are no PHP control on the validity of the answer … (and before [this](https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/expressions/em_manager_helper.php#L10388-L10392) participant can enter anything …)

My opinion : must have a real control (PHP/server) before improve the system.

Currently : hidding via javascript can surely be done with JS. The only difficult situation are the admin GUI …
liumingjun

liumingjun

2020-10-19 10:08

reporter   ~60251

thank you ,I implemented it with a custom em

Issue History

Date Modified Username Field Change
2020-09-28 10:52 liumingjun New Issue
2020-09-28 10:52 liumingjun File Added: image.png
2020-09-28 10:52 liumingjun File Added: image-2.png
2020-10-09 04:45 liumingjun Tag Attached: answers
2020-10-10 05:30 liumingjun Note Added: 60141
2020-10-10 10:47 DenisChenu Note Added: 60142
2020-10-10 11:12 liumingjun Note Added: 60143
2020-10-12 12:20 c_schmitz Summary List Radio answer has no Condition => Ability to set conditions/ExpressionScript for answer options
2020-10-14 08:30 liumingjun Note Added: 60187
2020-10-14 08:47 DenisChenu Note Added: 60191
2020-10-19 10:08 liumingjun Note Added: 60251