Welcome to the LimeSurvey Community Forum

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

Count total question

  • manuquintana
  • manuquintana's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 8 months ago #98022 by manuquintana
Count total question was created by manuquintana
Hello everyone,

I have survey that consist of 5 Groups:
1st group contain 7 questions,
2nd group contain 10 questions,
3rd group contain 9 questions,
4th group contain 2 questions and
5th group contain 10 questions.
Total 38 questions, Type: List (radio) with 4 choices

each correct answer valued 1

so I want to display total correct answered in "Completed Page"
just like this example, participant has answer 30 right answer:

"Thank you,
You have answered 30 right answer of 38 questions. Your Score is 80"

In the File 'completed.pstpl' I put following code :
"Thank you,
You have answered {ASSESSMENT_CURRENT_TOTAL} right answer of 38 questions. Your Score is {round((ASSESSMENT_CURRENT_TOTAL/38)*100)}"

the total questions "38" is hardcode written.
How to achieve the total questions count if I want to make it change dynamically, in case in the future there will be addition of questions, so the total questions will change automatically according to total numbers of questions?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 8 months ago #98049 by DenisChenu
Replied by DenisChenu on topic Count total question
Without assesments, you can use Expression manager, i use more EM than assesment now. But think EM don't have a {TOTALQUESTION}.

MAybe a feature request.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • manuquintana
  • manuquintana's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 8 months ago #98061 by manuquintana
Replied by manuquintana on topic Count total question

DenisChenu wrote: Without assesments, you can use Expression manager, i use more EM than assesment now. But think EM don't have a {TOTALQUESTION}.

MAybe a feature request.

Denis


I do use assesments, is it possible to do that total count of questions?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 8 months ago #98062 by DenisChenu
Replied by DenisChenu on topic Count total question
Hue ....

Sincerely, did you read what I wrote?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • manuquintana
  • manuquintana's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 8 months ago - 10 years 8 months ago #98069 by manuquintana
Replied by manuquintana on topic Count total question
Yes I've read. pardon me if I wrong, you said "Without assesments, you can use Expression manager" so that means If i'm not using assesments mode I can do it by using Expression manager right? but how to do it if I use assesments?
Last edit: 10 years 8 months ago by manuquintana.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose