Welcome to the LimeSurvey Community Forum

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

IF statement with comparison operator

More
9 years 6 months ago - 9 years 6 months ago #113010 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?
Attachments:
Last edit: 9 years 6 months ago by saam.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 6 months ago #113016 by DenisChenu
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

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.
More
9 years 6 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?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 6 months ago #113148 by DenisChenu
Replied by DenisChenu on topic IF statement with comparison operator

saam wrote: it's Version 2.05+ Build 140717

Do you think it is related to the version?

I give you a link with some information.
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.
More
9 years 6 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+!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 6 months ago #113181 by DenisChenu
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

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.
More
9 years 6 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.

Lime-years ahead

Online-surveys for every purse and purpose