Welcome to the LimeSurvey Community Forum

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

Block odd numerical input

  • Amal121
  • Amal121's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 6 months ago #159135 by Amal121
Block odd numerical input was created by Amal121
Hello
Can i block odd answers in a numerical input question type?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 6 months ago - 6 years 6 months ago #159140 by Joffm
Replied by Joffm on topic Block odd numerical input
You can use this to validate

floor(x/2)==(x/2)

manual.limesurvey.org/Expression_Manager#Implemented_Functions

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 6 months ago by Joffm.
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose