Welcome to the LimeSurvey Community Forum

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

Is it possible to show different end messages?

More
9 years 1 month ago #118272 by rcwd
Hello,
i need to show different messages, based on what answers are chosen.

Every question has 4 answers, every answer has one of this codes:
  • FRM
  • PMC
  • MES
  • HOME

I need to sum all the answers and group them by the code.

In end message, i am able only to show a total count for single code, for example:

countif( 'PMC', D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12 )


I need to show various line of text, based on group with most values.

Thanks...
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 1 month ago #118275 by tpartner
Replied by tpartner on topic Is it possible to show different end messages?
I think this is too complex for Expression manager alone. You will need to use Expression Manager to pipe in the answers and then use JavaScript to display the appropriate message.

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
9 years 1 month ago #118280 by Ben_V
Hi,

If you can get 4 (hidden or not) questions collecting the number of
FRM, PMC, MES & HOME answers you can set (in another group) a question sorting those values using javascript .
After it would be easier to handle the messages.

I have an online scoring tool with (more ore less) similar settings.
You can test it and/or download the related lss fil e ;)

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
More
9 years 1 month ago #118300 by Ben_V

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose