Using EM Variable in the Assesment rules page

Plus d'informations
il y a 1 mois 3 jours #188833 par kogger
Hello,

I'm creating a self-assessment survey and I would like to calculate percentages for each question (arrays with sub-questions and answers with assessment values.)

My question is: Do I have access to the EM variables (other than {TOTAL} and {PERC}) from the assessment rules messages? I've trying different combinations and I cannot get any values to display...

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 1 mois 3 jours #188845 par tpartner
No, I think you will be better off using Expression Manager to load your own "scores" into hidden (via CSS) equation questions and then create a custom assessments message.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Les utilisateur(s) suivant ont remercié: kogger

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 jours #188849 par DenisChenu

tpartner écrit: No, I think you will be better off using Expression Manager to load your own "scores" into hidden (via CSS) equation questions and then create a custom assessments message.

?

It's true in 2.6lts and before : all usage of Expression Manager can be used in assessment message.
It's tru for next version github.com/LimeSurvey/LimeSurvey/commit/...8d4dea6671011fb5ad9c

I think but didn't check in 2.73, but i think it's true :)

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 .
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: kogger

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 jours #188850 par tpartner
I'm just pointing out that Expression Manager is far more flexible than assessments.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Les utilisateur(s) suivant ont remercié: DenisChenu

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 jours #188854 par DenisChenu

tpartner écrit: I'm just pointing out that Expression Manager is far more flexible than assessments.

Right :)

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 .
An error happen ? Before make a new topic : remind the Debug mode .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 2 jours #188863 par kogger
Thank you for your answer.

Would you have a good example of this that I could look at? I've not seen any specific examples of using EM for assessments and how you create a custom results page.

I did find a workaround by using some javascript in the assessment rules but I'm curious if using EM would give me more flexibility.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 2 jours #188872 par holch
Example: you can use all assessment values via questioncode.value, etc. and thus can calculate your own values in equation questions. It gives you a lot more flexibility.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 1 jour #188913 par kogger
Hmmm technically, that's not an example. I was wondering if there is an .lss I could load up to see how it all comes together. I,ve seen some for other use cases, just nothing for this one particularly. It would help a bunch.

But perhaps there isn't one?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 1 jour - il y a 1 mois 1 jour #188917 par holch
These links should help to get you an good idea of how Expression Manager works. Once you know what Expression Manager is, you will be able to 'unlock' the flexibility it gives you to create your own assessments.
manual.limesurvey.org/Expression_Manager_-_quick_start_guide
manual.limesurvey.org/Expression_Manager_how-tos
manual.limesurvey.org/Expression_Manager_examples

Here you will also find a link to a LSS file that provides examples about Assessments:
manual.limesurvey.org/Expression_Manager..._assessment_Examples

But the best way to learn is to play around and create your own example and what you want to do. When you run into problems, then put your LSS here and I am sure people are more than happy to help you to overcome your difficulties.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Dernière édition: il y a 1 mois 1 jour par holch.
Les utilisateur(s) suivant ont remercié: kogger

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 1 jour #188919 par Joffm
Not to forget the sample surveys

https://manual.limesurvey.org/Expression_Manager_sample_surveys

which are included in the Demo installation, too.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Les utilisateur(s) suivant ont remercié: kogger

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 1 jour - il y a 1 mois 1 jour #188921 par kogger
This is great! Thank you!
Dernière édition: il y a 1 mois 1 jour par kogger.

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!