- Posts: 19
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Sub-question validation equation
- rouuuge
- Topic Author
- Offline
- New Member
Less
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
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
2 years 1 month ago #225730
by DenisChenu
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.
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 1
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
2 years 1 month ago #226122
by DenisChenu
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.
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.