Welcome to the LimeSurvey Community Forum

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

Validation for single response questions e.g List (radio) ?

  • jelo
  • jelo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 8 months ago #123365 by jelo
At first this sounds silly, but as long as there is a other field possible, a validation section makes sense for single response questions too. The "Numbers only for 'Other'" option is a bit of help but a validation section would better.
I don't see a workaround for the validation function in that case.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #123389 by tpartner
Maybe that's a good feature request. For the time being, you will need to validate "Other" with JavaScript. Details of the script would depend on the validation requirements.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • jelo
  • jelo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 8 months ago #123419 by jelo

tpartner wrote: Maybe that's a good feature request. For the time being, you will need to validate "Other" with JavaScript. Details of the script would depend on the validation requirements.

With feature requests I got the impression that it won't make sense to submit them till LS 3.0 hits the scene.
The codebase seems to need a refactoring to allow adding more features without raising to much concern about the existing code. I might be wrong, but currently you seem to be the man for new feature ;-) Perhaps you should offer a DVD with the title "Mastering Limesurvey and add features with Tonys workaround toolbox".

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose