- Posts: 19
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can i use insertans in welcome message
- achstil
- Topic Author
- Offline
- New Member
Less
More
5 years 8 months ago - 5 years 8 months ago #171820
by achstil
Can i use insertans in welcome message was created by achstil
Hi
I'd like to use something like: "This is a questionarire about your {intval(INSERTANS:141414X1X1.shown)} house" in my welcome message.
The answer is posted in the URL get request, like this: " limesurvey.example.com/index.php?r=surve...lang=da&141414X1X1=2 "
If this is not possible, I plan to discard the welcome message survey element, add a en empty question group and but the welcome message text there instead. The functionality will be the same. I just prefer not to do this, as I have already made a bit work, presuming the current survey structure.
So - thats why I am asking
I'd like to use something like: "This is a questionarire about your {intval(INSERTANS:141414X1X1.shown)} house" in my welcome message.
The answer is posted in the URL get request, like this: " limesurvey.example.com/index.php?r=surve...lang=da&141414X1X1=2 "
If this is not possible, I plan to discard the welcome message survey element, add a en empty question group and but the welcome message text there instead. The functionality will be the same. I just prefer not to do this, as I have already made a bit work, presuming the current survey structure.
So - thats why I am asking
Last edit: 5 years 8 months ago by DenisChenu.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12888
- Thank you received: 3965
5 years 8 months ago #171827
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Can i use insertans in welcome message
Doesn't seem to be possible.
In my opinion it's the best to create a group at the beginning where you have your question X1 and afterwards explain in a text display question which house it is.
This should not affect the rest of your survey.
Best regards
Joffm
In my opinion it's the best to create a group at the beginning where you have your question X1 and afterwards explain in a text display question which house it is.
This should not affect the rest of your survey.
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: teracomp
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
5 years 8 months ago - 5 years 8 months ago #171840
by DenisChenu
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.
Replied by DenisChenu on topic Can i use insertans in welcome message
INSERTANS:141414X1X1.shown CAN NEVER work …
Else : try with EM, but don't think it work. Easy way : create a Group with a single text display question and put you EM code (real and clean) inside.
manual.limesurvey.org/Expression_Manager
PS : usage of example.com PLEASE
Else : try with EM, but don't think it work. Easy way : create a Group with a single text display question and put you EM code (real and clean) inside.
manual.limesurvey.org/Expression_Manager
PS : usage of example.com PLEASE
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.
Last edit: 5 years 8 months ago by DenisChenu.
The following user(s) said Thank You: teracomp
The topic has been locked.
- achstil
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
5 years 8 months ago #171847
by achstil
Replied by achstil on topic Can i use insertans in welcome message
Thanks both
For the record: INSERTANS works fine in the survey. The EM manager doesn't seem to like URL Get parameters. And since we pass this in the URL - we have to use the old style insertans Maybe because of xss enabled? manual.limesurvey.org/Expression_Manager#XSS_security
example.com - OK
For the record: INSERTANS works fine in the survey. The EM manager doesn't seem to like URL Get parameters. And since we pass this in the URL - we have to use the old style insertans Maybe because of xss enabled? manual.limesurvey.org/Expression_Manager#XSS_security
example.com - OK
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
5 years 8 months ago - 5 years 8 months ago #171863
by DenisChenu
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.
Replied by DenisChenu on topic Can i use insertans in welcome message
INSERTANS:141414X1X1 == QCODE.show … you can't use QCODE.NAOK or QCODE.question etc …
And i really think
broke, but not
And i really think
Code:
{intval(INSERTANS:141414X1X1.shown)}
Code:
{intval(INSERTANS:141414X1X1)}
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.
Last edit: 5 years 8 months ago by DenisChenu.
The topic has been locked.