- Posts: 15
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
IF statement with comparison operator
- saam
- Topic Author
- Offline
- New Member
Less
More
9 years 5 months ago - 9 years 5 months ago #113010
by saam
IF statement with comparison operator was created by saam
I am relatively rookie in lime survey, but this simple error has driven me nuts. I am trying to incorporate an if statement in one of the equation type questions. The if statement works fine with equality sign ( i.e. = but does not recognize the greater than sign (I am using >). Lime survey doesn't simply recognize the sign!
am i missing something here? I have looked up for comparison operators for PHP and I think I am doing it right. Right?
am i missing something here? I have looked up for comparison operators for PHP and I think I am doing it right. Right?
Attachments:
Last edit: 9 years 5 months ago by saam.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13912
- Thank you received: 2549
9 years 5 months ago #113016
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 IF statement with comparison operator
Hi,
What is your LimeSurvey build number.
manual.limesurvey.org/Expression_Manager#HTML_editor_issue
What is your LimeSurvey build number.
manual.limesurvey.org/Expression_Manager#HTML_editor_issue
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 following user(s) said Thank You: saam
The topic has been locked.
- saam
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
9 years 5 months ago #113147
by saam
Replied by saam on topic IF statement with comparison operator
it's Version 2.05+ Build 140717
Do you think it is related to the version?
Do you think it is related to the version?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13912
- Thank you received: 2549
9 years 5 months ago #113148
by DenisChenu
It's an HTML editor issue.
Please read it ....
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 IF statement with comparison operator
I give you a link with some information.saam wrote: it's Version 2.05+ Build 140717
Do you think it is related to the version?
It's an HTML editor issue.
Please read it ....
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.
- saam
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
9 years 5 months ago #113179
by saam
Replied by saam on topic IF statement with comparison operator
Oh, thank you. I just read your link more carefully.
I tried ge for >=. The letters are not recognized now as an operator! Do I need to use a prefix?
Moreover, in the link you sent me, it says this issue is resolved after 2.06 build 140803. Where is this version available? the latest version on this website is 2.05+!
I tried ge for >=. The letters are not recognized now as an operator! Do I need to use a prefix?
Moreover, in the link you sent me, it says this issue is resolved after 2.06 build 140803. Where is this version available? the latest version on this website is 2.05+!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13912
- Thank you received: 2549
9 years 5 months ago #113181
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 IF statement with comparison operator
Hi,
Can you provide a sreenshot ?
Did you put some space before and after ge ?
Denis
Can you provide a sreenshot ?
Did you put some space before and after ge ?
Denis
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.
- saam
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
9 years 5 months ago #113196
by saam
Replied by saam on topic IF statement with comparison operator
My bad. The text color does not change, but it's working (i.e. it's recognized). Many thanks...
The topic has been locked.