Welcome to the LimeSurvey Community Forum

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

Problem with validation equation with 2 dropdown values

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
6 years 5 months ago #177796 by DenisChenu

holch wrote: if it is 1,2, etc it takes it as integer/number and lets you compare it as numbers. Or am I mistaken.

No, not currently :

@testls2018 use code with number (0 to 100) and text as number too (same than code)

But comparaison is done as string ( 5 > 10)

Behaviour in 2.6lts : compariason is done as number ( 5<10)
In 2.73 (and 3.X) : done as string.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago #177806 by holch
OK, so my knowledge is still form 2.6 LTS!

I think it was better the way it was in 2.6, because it is easier to compare. Now you need intval in any case then. Good to know.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose