Count total question

More
3 years 10 months ago #98022 by manuquintana
manuquintana created the topic: Count total question
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?

Please Log in to join the conversation.

More
3 years 10 months ago #98049 by DenisChenu
DenisChenu replied the 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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 10 months ago #98061 by manuquintana
manuquintana replied the 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?

Please Log in to join the conversation.

More
3 years 10 months ago #98062 by DenisChenu
DenisChenu replied the 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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 10 months ago - 3 years 10 months ago #98069 by manuquintana
manuquintana replied the 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: 3 years 10 months ago by manuquintana.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now