Can i use insertans in welcome message

More
2 months 3 weeks ago - 2 months 3 weeks ago #171820 by achstil
achstil created the topic: Can i use insertans in welcome message
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 :-)
Last Edit: 2 months 3 weeks ago by DenisChenu.

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago #171827 by Joffm
Joffm replied the 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


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago - 2 months 3 weeks ago #171840 by DenisChenu
DenisChenu replied the 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

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 .
Last Edit: 2 months 3 weeks ago by DenisChenu.

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago #171847 by achstil
achstil replied the 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 :-)

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago - 2 months 3 weeks ago #171863 by DenisChenu
DenisChenu replied the 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
{intval(INSERTANS:141414X1X1.shown)}
broke, but not
{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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 2 months 3 weeks ago by DenisChenu.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!