- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Using expression manager to customise the end message
- alextj
- Topic Author
- Offline
- New Member
Less
More
8 months 3 weeks ago - 8 months 3 weeks ago #245448
by alextj
Using expression manager to customise the end message was created by alextj
I'm new to Expression Manager, but I'm trying to customise the end message shown based on a previous answer.
I've tried writing this:
"To complete the course enrolment {If(G02Q36.code=="cc","do this","other do this")}"
But this just shows this code on the end screen, with a red box around the 'if' and on hover says 'undefined function'. I haven't been able to find any information on what 'undefined function' means in this context.
Can anyone see where I'm going wrong?
Thanks!
I've tried writing this:
"To complete the course enrolment {If(G02Q36.code=="cc","do this","other do this")}"
But this just shows this code on the end screen, with a red box around the 'if' and on hover says 'undefined function'. I haven't been able to find any information on what 'undefined function' means in this context.
Can anyone see where I'm going wrong?
Thanks!
Last edit: 8 months 3 weeks ago by alextj. Reason: tidy
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
8 months 3 weeks ago #245450
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Using expression manager to customise the end message
Hi,
the error message tells you that you use a not defined function.
If you have a look here
[url] manual.limesurvey.org/ExpressionScript_-...mplemented_functions [/url]
you see that there is no implemented function "If".
The function you want to use is "if". (lower case)
Meaning, it was just a typo on your side.
Joffm
the error message tells you that you use a not defined function.
If you have a look here
[url] manual.limesurvey.org/ExpressionScript_-...mplemented_functions [/url]
you see that there is no implemented function "If".
The function you want to use is "if". (lower case)
Meaning, it was just a typo on your side.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: alextj
Please Log in to join the conversation.
- alextj
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
8 months 3 weeks ago #245466
by alextj
Replied by alextj on topic Using expression manager to customise the end message
Thank you Joffm!
Now it works ok, I'll make sure I check everything for lower case vs mixed case, I didn't realise that had an influence.
Now it works ok, I'll make sure I check everything for lower case vs mixed case, I didn't realise that had an influence.
Please Log in to join the conversation.