- Messages : 19
- Remerciements reçus 0
Can i use insertans in welcome message
- achstil
-
Auteur du sujet
- Hors Ligne
- Fresh Lemon
-
Réduire
Plus d'informations
il y a 6 mois 3 semaines - il y a 6 mois 3 semaines #171820
par achstil
COM_KUNENA_MESSAGE_CREATED_NEW
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: il y a 6 mois 3 semaines by DenisChenu.
Connexion ou Créer un compte pour participer à la conversation.
- Joffm
-
- Hors Ligne
- LimeSurvey Community Team
-
Réduire
Plus d'informations
- Messages : 2156
- Karma: 43
- Remerciements reçus 694
il y a 6 mois 3 semaines #171827
par Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
COM_KUNENA_MESSAGE_REPLIED_NEW
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
Les utilisateur(s) suivant ont remercié: teracomp
Connexion ou Créer un compte pour participer à la conversation.
- DenisChenu
-
- Hors Ligne
- LimeSurvey Community Team
-
Réduire
Plus d'informations
- Messages : 10522
- Karma: 408
- Remerciements reçus 1866
il y a 6 mois 3 semaines - il y a 6 mois 3 semaines #171840
par 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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
COM_KUNENA_MESSAGE_REPLIED_NEW
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: il y a 6 mois 3 semaines by DenisChenu.
Les utilisateur(s) suivant ont remercié: teracomp
Connexion ou Créer un compte pour participer à la conversation.
- achstil
-
Auteur du sujet
- Hors Ligne
- Fresh Lemon
-
Réduire
Plus d'informations
- Messages : 19
- Remerciements reçus 0
il y a 6 mois 3 semaines #171847
par achstil
COM_KUNENA_MESSAGE_REPLIED_NEW
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

example.com - OK

Connexion ou Créer un compte pour participer à la conversation.
- DenisChenu
-
- Hors Ligne
- LimeSurvey Community Team
-
Réduire
Plus d'informations
- Messages : 10522
- Karma: 408
- Remerciements reçus 1866
il y a 6 mois 3 semaines - il y a 6 mois 3 semaines #171863
par 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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
COM_KUNENA_MESSAGE_REPLIED_NEW
INSERTANS:141414X1X1 == QCODE.show … you can't use QCODE.NAOK or QCODE.question etc …
And i really thinkbroke, but not
And i really think
{intval(INSERTANS:141414X1X1.shown)}
{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: il y a 6 mois 3 semaines by DenisChenu.
Connexion ou Créer un compte pour participer à la conversation.