- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Example of assessment value in admin-email
- RobertHaringsma
- Topic Author
- Offline
- New Member
Less
More
3 years 6 months ago #205788
by RobertHaringsma
Example of assessment value in admin-email was created by RobertHaringsma
I want to mail the scores from a questionnaire to myself, but after doing some simple assessment on it (multiplication). I did this with limesurvey 5 years ago, but can't make it work anymore.
I used to just past a code like this in the admin mail:
{sum{492152X2X2vraag1},{492152X2X2vraag2}}
That doesn't seem to work anymore. I know the questioncodes are right, but can't seem to make the multiplication work. Can anyone help me with that?
I used to just past a code like this in the admin mail:
{sum{492152X2X2vraag1},{492152X2X2vraag2}}
That doesn't seem to work anymore. I know the questioncodes are right, but can't seem to make the multiplication work. Can anyone help me with that?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
3 years 6 months ago #205789
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Example of assessment value in admin-email
Wrong syntax.
I would also use question codes - manual.limesurvey.org/ExpressionScript_-...#Access_to_variables
Code:
{sum(492152X2X2vraag1, 492152X2X2vraag2)}
I would also use question codes - manual.limesurvey.org/ExpressionScript_-...#Access_to_variables
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: RobertHaringsma
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
3 years 6 months ago #205790
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Example of assessment value in admin-email
Hi, Robert,
this is a question of type "multiple numerical input"?
IMO bettter than using the SGQA codes you may use the question code directly.
But your main error are the curly brackets
NOT:
{sum{492152X2X2vraag1},{492152X2X2vraag2}}
BUT:
{sum(492152X2X2vraag1,492152X2X2vraag2)}
And with question codes
{sum(Q1_vraag1,Q1_vraag2)}
Joffm
By the way: You confuse the readers by saying
this is a question of type "multiple numerical input"?
IMO bettter than using the SGQA codes you may use the question code directly.
But your main error are the curly brackets
NOT:
{sum{492152X2X2vraag1},{492152X2X2vraag2}}
BUT:
{sum(492152X2X2vraag1,492152X2X2vraag2)}
And with question codes
{sum(Q1_vraag1,Q1_vraag2)}
Joffm
By the way: You confuse the readers by saying
but you use the sum-function.doing some simple assessment on it (multiplication)
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: RobertHaringsma
The topic has been locked.