- Posts: 70
- Thank you received: 15
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to tell LME to not processing an expression?
- bismark
- Topic Author
- Offline
- Senior Member
Less
More
5 years 3 months ago - 5 years 3 months ago #179301
by bismark
How to tell LME to not processing an expression? was created by bismark
In a text I use a Javascript with a line like this
format: '{point.name}',
now LME recognizes an expression. How can I tell LME that it should be ignored?
format: '{point.name}',
now LME recognizes an expression. How can I tell LME that it should be ignored?
Last edit: 5 years 3 months ago by bismark.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
5 years 3 months ago #179305
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 How to tell LME to not processing an expression?
Insert a space after the opening brace and before the closing brace.
Code:
format: '{ point.name }',
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- bismark
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 70
- Thank you received: 15
5 years 3 months ago #179310
by bismark
Replied by bismark on topic How to tell LME to not processing an expression?
thanks, this expression will be ignored correctly, but more expressions afterwrds will be ignored too
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
5 years 3 months ago #179313
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 How to tell LME to not processing an expression?
Sorry, I don't understand the comment. Everything within the braces with spaces will be ignored by Expression Manager. Subsequent braces without spaces will be processed by EM.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
5 years 3 months ago #179349
by 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 , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic How to tell LME to not processing an expression?
Else,
Unsure it can work for javascript, but to make some doc on demo, i use HTML Entity Encode
but if it's for a jason javascript object : best is to add a line feed
Unsure it can work for javascript, but to make some doc on demo, i use HTML Entity Encode
Code:
{point.name}
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.