- Posts: 212
- Thank you received: 38
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
EspressionScript
- ritapas
- Topic Author
- Offline
- Elite Member
Less
More
3 years 7 months ago #203940
by ritapas
EspressionScript was created by ritapas
Hello,
can somebody explain this note in the Tailored Questions, Answers, and Reports part of the ExpressionScript Engine - Quick start guide?
I'm trying to translate the page in my mother language but I actually don't understand this statement.
By the way, is it possible to "translate the pictures", i.e. adding different pictures for your language in order to show the same examples but in Italian?
(I know this is not the right forum for this last question, sorry for the off topic.)
Thanks a lot.
can somebody explain this note in the Tailored Questions, Answers, and Reports part of the ExpressionScript Engine - Quick start guide?
Note: Dynamic tailoring may not work if answer options are made available in select boxes on the same question page. This results from the fact that tailoring inserts a <span> tag which is not valid inside select options.
I'm trying to translate the page in my mother language but I actually don't understand this statement.
By the way, is it possible to "translate the pictures", i.e. adding different pictures for your language in order to show the same examples but in Italian?
(I know this is not the right forum for this last question, sorry for the off topic.)
Thanks a lot.
The following user(s) said Thank You: tpartner
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
3 years 7 months ago #203945
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic EspressionScript
If you use tayloring, like piping things from previous questions into the current questions, it might cause problems when you use the dropdown layout (select boxes), because they use a "span" tag and seems like expression script doesn't work within those span tags. That is how I understand it.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
3 years 7 months ago - 3 years 7 months ago #203948
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 EspressionScript
The <select> elements do not use <span> elements.
The note refers to the fact that Expression Script tailored text that originates within a single page is wrapped in <span> elements and these are invalid HTML within the <select> <option> elements.
- developer.mozilla.org/en-US/docs/Web/HTML/Element/option
- www.w3.org/TR/2011/WD-html5-author-20110...ls.html#text-content
The note refers to the fact that Expression Script tailored text that originates within a single page is wrapped in <span> elements and these are invalid HTML within the <select> <option> elements.
- developer.mozilla.org/en-US/docs/Web/HTML/Element/option
- www.w3.org/TR/2011/WD-html5-author-20110...ls.html#text-content
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 7 months ago by tpartner.
The following user(s) said Thank You: holch
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
3 years 7 months ago #203950
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 EspressionScript
...oh, and, thank you for your translation efforts.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: ritapas
The topic has been locked.
- ritapas
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 212
- Thank you received: 38
3 years 7 months ago #203962
by ritapas
Replied by ritapas on topic EspressionScript
thank you all, I think it is now clear.
What about pictures in the manual? Is there a way to have a different picture for the translated manual page, to include screenshots in my language instead of the default ones?
@tpartner
you're welcome, it's the last I could do. I hope that would be useful.
What about pictures in the manual? Is there a way to have a different picture for the translated manual page, to include screenshots in my language instead of the default ones?
@tpartner
you're welcome, it's the last I could do. I hope that would be useful.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
3 years 7 months ago #203971
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic EspressionScript
I think this is a good idea, but I am not sure if this is possible. It should, but before you do it, we should check if changing the image won't change it for the other languages. It shouldn't, but who knows...By the way, is it possible to "translate the pictures", i.e. adding different pictures for your language in order to show the same examples but in Italian?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.