Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Validation Tip doesn't work dynamically with LEM for secondary languages

  • davidpetty
  • davidpetty's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago - 2 years 4 months ago #232874 by davidpetty
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 3.25.17+210309
Own server or LimeSurvey hosting: Own server
Survey theme/template: skelvanilla
==================
I am finalizing a multi-lingual survey. One of the last things we are working on is adding additional Validation Logic to Multiple Choice questions to prevent users from selecting options that are logically inconsistent with each other. For example "Who do you live with? Please select all that apply." with sub questions "I live alone", "I live with a spouse.", "I live with parents." 
In this scenario, we want "I live alone" to be inconsistent with the other answers. This works fine in English:



And we have logic in the question like so:



However, while the English (default language) correctly displays the Validation Tip dynamically, changing the message depending on the logic in em_validation_q_tip, as discussed here  [url] www.limesurvey.org/manual/QS:Em_validation_q [/url], it seems to hardcode the text for French and Spanish.

Example in French:

The logic works (it highlights in red, or not, depending on the em_validation_q):



But the text is not dynamic, as it is in English.



Inspecting the generated HTML code, it seems to be a bit different, having an "LEMtailor..." <span> for the validation tip in English which is updated as you interact with the question



But in secondary other languages, I just get this:



Is this a known issue / fixed in later version, and/or is there a workaround for this?
My current plan is to hard code the text to be something generic that can stand on it's own whether the error is triggered or not.

Thank you very much for any help.
Last edit: 2 years 4 months ago by davidpetty.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago - 2 years 4 months ago #232876 by Joffm
Hm,
just tested with three languages an didn't see an issue in 3.28.26

 

 



So you should provide this question as lss export.

Joffm

BTW: In this case I'd prefer to set an exclusive option to "Living alone"

And one addition:
Did you check your validation tip by inserting it into the question text?
Sometimes there are invisible strange characters inside (sometimes caused by copy/paste) which you only see here.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 years 4 months ago by Joffm.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose