The displayValue function accepts the name of a question. However, when a drop-down question is located within a dynamic panel, it doesn't work. Similarly, it doesn't work for drop-down cells within a dynamic matrix.
I created a separate Expression column to work around this: "sumInArray({question1}, 'Column 4')". Because the sumInArray didn't work if I pass the displayValue('Column 1').
@andrewtelnov it would be nice to have the displayValue function work out of the box in these scenarios.
T16865 - Using dynamic panel values in HTML markup https://surveyjs.answerdesk.io/internal/ticket/details/T16865
The
displayValue
function accepts the name of a question. However, when a drop-down question is located within a dynamic panel, it doesn't work. Similarly, it doesn't work for drop-down cells within a dynamic matrix.https://plnkr.co/edit/fnO7UhGaij9SlSJP
Another question: T16867 - Totals calculation https://surveyjs.answerdesk.io/internal/ticket/details/T16867
I created a separate Expression column to work around this:
"sumInArray({question1}, 'Column 4')"
. Because thesumInArray
didn't work if I pass thedisplayValue('Column 1')
.@andrewtelnov it would be nice to have the
displayValue
function work out of the box in these scenarios.