- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
mandatory answer for the second question depending on the first (in tables)
- michael1834x
- Topic Author
- Offline
- New Member
Less
More
3 years 7 months ago #205265
by michael1834x
mandatory answer for the second question depending on the first (in tables) was created by michael1834x
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12994
- Thank you received: 3996
3 years 7 months ago - 3 years 7 months ago #205266
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic mandatory answer for the second question depending on the first (in tables)
You may validate your second question.
questionOne_SQ003.NAOK! OR (questionOne_SQ003.NAOK= and !is_empty(questionTwo_SQ003))
Joffm
questionOne_SQ003.NAOK! OR (questionOne_SQ003.NAOK= and !is_empty(questionTwo_SQ003))
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 7 months ago by Joffm.
The following user(s) said Thank You: michael1834x
The topic has been locked.
- michael1834x
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 years 7 months ago #205267
by michael1834x
Replied by michael1834x on topic mandatory answer for the second question depending on the first (in tables)
i have an error
whatever I choose in the first table in the second, I have this information:
"Please check the format of your answer."
and if it's complete, it won't let me go any further
whatever I choose in the first table in the second, I have this information:
"Please check the format of your answer."
and if it's complete, it won't let me go any further
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12994
- Thank you received: 3996
3 years 7 months ago - 3 years 7 months ago #205273
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic mandatory answer for the second question depending on the first (in tables)
So, please send these questions and the validation you used as lss export.
Because I do not see any issue.
1. Option 3 not selected
2. Option 3 selected, no input in text
3. Option 3 selected, text entered
Joffm
Because I do not see any issue.
1. Option 3 not selected
2. Option 3 selected, no input in text
3. Option 3 selected, text entered
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 7 months ago by Joffm.
The following user(s) said Thank You: michael1834x
The topic has been locked.
- michael1834x
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 years 7 months ago #205276
by michael1834x
Replied by michael1834x on topic mandatory answer for the second question depending on the first (in tables)
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12994
- Thank you received: 3996
3 years 7 months ago #205278
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic mandatory answer for the second question depending on the first (in tables)
Hi,
well, I missed that the second question is an array(text).
Then you have to add the x_axis code as well.
And the validation is something like
questionOne_SQ003.NAOK! OR (questionOne_SQ003.NAOK= and !is_empty(questionTwo_SQ003_SQ001)).
And your mistake was:
Of course you have to adapt the validation, if you use different answer option codes instead my "1", "2", "3", but "A1", "A2",...
So the final should be
questionOne_SQ003.NAOK!="A3" OR (questionOne_SQ003.NAOK=="A3" and !is_empty(questionTwo_SQ003_SQ001))
Joffm
well, I missed that the second question is an array(text).
Then you have to add the x_axis code as well.
And the validation is something like
questionOne_SQ003.NAOK! OR (questionOne_SQ003.NAOK= and !is_empty(questionTwo_SQ003_SQ001)).
And your mistake was:
Of course you have to adapt the validation, if you use different answer option codes instead my "1", "2", "3", but "A1", "A2",...
So the final should be
questionOne_SQ003.NAOK!="A3" OR (questionOne_SQ003.NAOK=="A3" and !is_empty(questionTwo_SQ003_SQ001))
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: michael1834x
The topic has been locked.
- michael1834x
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 years 7 months ago - 3 years 7 months ago #205283
by michael1834x
Replied by michael1834x on topic mandatory answer for the second question depending on the first (in tables)
can I please you send me your working project?
I still have that error
I will look through my project and see what's wrong
even if the shortcut to only one condition is still an error with the wrong response format
questionOne_SQ003.NAOK!="A3"
EDIT
OK, I think I entered the validations in the wrong place, now it works
I still have that error
I will look through my project and see what's wrong
even if the shortcut to only one condition is still an error with the wrong response format
questionOne_SQ003.NAOK!="A3"
EDIT
OK, I think I entered the validations in the wrong place, now it works
Last edit: 3 years 7 months ago by michael1834x.
The topic has been locked.