Welcome to the LimeSurvey Community Forum

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

Sub-question validation equation

  • rouuuge
  • rouuuge's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #225722 by rouuuge
Sub-question validation equation was created by rouuuge
hi
We have a matrix question in which we check the subquestions as follows:

Sub-question validation equation: is_int(this) || is_empty(this) 

This works great! (Only whole numbers or empty values should be allowed). But now we have partially hidden subquestions (via Relevation Eq). If a subquestion is hidden, the question can never be completed correctly.

In short, I should probably have something like this in the Sub-question validation equation:  is_int(this) || is_empty(this) || this.shown

Unfortunately, this does not work.Does anyone have a suggestion how to solve this? 

thx

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 1 month ago #225730 by DenisChenu
Replied by DenisChenu on topic Sub-question validation equation
Can you try is_int(this.NAOK) || is_empty(this.NAOK) ?

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: rouuuge

Please Log in to join the conversation.

  • rouuuge
  • rouuuge's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #226000 by rouuuge
Replied by rouuuge on topic Sub-question validation equation
thx! that works!

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 1 month ago #226122 by DenisChenu
Replied by DenisChenu on topic Sub-question validation equation
NAOK is done for this.

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.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose