- Posts: 43
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
determining the language version
- jma6610
- Topic Author
- Offline
- Senior Member
Less
More
9 years 10 months ago #107854
by jma6610
determining the language version was created by jma6610
I'm at a university that is hosting Lime v.1.91 - so it doesn't have expression manager.
I'm running an anonymous survey and for those, you can't use tokens in the conditions.
I'm trying to specify a condition where a question is presented if a prior question was answered in a given way and if the language version currently being used was English. This would be easy if I could base the condition on the language token, but again, Lime doesn't permit doing this with an anonymous survey.
Is there some way to do this? I thought perhaps through the use of regular expressions in some way?
Thanks
I'm running an anonymous survey and for those, you can't use tokens in the conditions.
I'm trying to specify a condition where a question is presented if a prior question was answered in a given way and if the language version currently being used was English. This would be easy if I could base the condition on the language token, but again, Lime doesn't permit doing this with an anonymous survey.
Is there some way to do this? I thought perhaps through the use of regular expressions in some way?
Thanks
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
9 years 10 months ago #107855
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic determining the language version
HI,
Maybe you can hide your conditionnal question, using javascript only in the source of unwanted language(s) question text.
Something like (/!\ Replace "123" by your correct question code) :
Probably you've to set this question not mandatory.
Maybe you can hide your conditionnal question, using javascript only in the source of unwanted language(s) question text.
Something like (/!\ Replace "123" by your correct question code) :
Code:
<script type="text/javascript"> $('#question123').hide(); </script>
Probably you've to set this question not mandatory.
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 10 months ago #107886
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 determining the language version
You may be able to use the {LANG} placeholder to load a hidden equation question and/or set relevance. (not sure if it works if the language is switched mid-survey)
.
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.