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
  • LimeSurvey Community Team
More
5 years 4 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 service on demand , plugin 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
5 years 4 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.

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.

Lime-years ahead

Online-surveys for every purse and purpose