Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Array (Numbers) with dropdowns and labels?

More
8 years 7 months ago #148263 by icm76
Hi,

i'm interested if there are any possibilities to have a question with Array (Numbers)+dropdowns and those dropdowns to have both value and text to display - now there is only text to display = value

Thanks,
Catalin
The topic has been locked.
More
8 years 7 months ago #148269 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
8 years 7 months ago #148279 by icm76
Thank you.

Is it possible to get the Value or the Text in the expression manager?

I could get the question (.question) but not the selected value or selected text of the dropdown - i've tried with: .shown, .value. Also, is_empty(QAplicatii_SQ002_SQ002.shown) is always true

Thank you,
Catalin
The topic has been locked.
More
8 years 7 months ago #148296 by tpartner
What version of LimeSurvey are you using?

Something like this will show the value of an array cell with question-code "Q1", Y-scale sub-question codes "Y1, Y2..." and X-scale codes "X1, X2...".

Code:
{Q1_Y1_X1}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
8 years 7 months ago #148304 by DenisChenu
Bug fixed in last version

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
8 years 7 months ago #148311 by icm76
I already have the latest version of LS (Version 2.62.2+170203). But there seems to be a bug in the plugin, as posted here github.com/SondagesPro/LS-arrayTextAdapt/issues/5 (with demo project)

Thanks,
Catalin
The topic has been locked.
More
8 years 7 months ago #148313 by icm76
If it is a LS bug, could you please give me an alternative to this?

Thanks,
Catalin
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose