Welcome, Guest
Username: Password: Remember me

TOPIC: determining the language version

determining the language version 6 months 1 week ago #107854

  • jma6610
  • jma6610's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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
The administrator has disabled public write access.

determining the language version 6 months 1 week ago #107855

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1125
  • Thank you received: 259
  • Karma: 79
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) :
<script type="text/javascript">
$('#question123').hide();
</script>

Probably you've to set this question not mandatory.
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.

determining the language version 6 months 1 week ago #107886

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4297
  • Thank you received: 810
  • Karma: 373
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.161 seconds
Donation Image