- Posts: 24
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
force user to answer
- mana
- Topic Author
- Offline
- Junior Member
Less
More
7 years 8 months ago #139828
by mana
force user to answer was created by mana
HI
How can i force user to answer all cell a row in the table ?
in array number or text
How can i force user to answer all cell a row in the table ?
in array number or text
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12954
- Thank you received: 3984
7 years 8 months ago #139831
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic force user to answer
Hi, mana,
what about setting the question "mandatory"?
Then the respondent has to answer ALL cells, all rows, all columns.
Regards
Joffm
what about setting the question "mandatory"?
Then the respondent has to answer ALL cells, all rows, all columns.
Regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- mana
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
7 years 8 months ago #139999
by mana
Replied by mana on topic force user to answer
no
Only 1 row of the table .
Only 1 row of the table .
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12954
- Thank you received: 3984
7 years 8 months ago - 7 years 8 months ago #140002
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic force user to answer
Hi, mana,
well, I have a solution, if it is the first row.
create a group with two question of matrix type
1. question (mandatory): only the mandatory row.
2. question (not mandatory): all other rows.
Do not enter subquestiion text in X-scale
Remember to set the same value of "subquestion width" in advanced settings.
in the question text of question 2 add:
The "290" if the QID of this second question.
You can find out in "Survey logic file".
I know, setting the styling is better by JS - mainly getting the QID -, but I am not so familiar with that.
Anyway, you will get something like the screenshots.
I hope I could help a little bit.
Best regards
Joffm
well, I have a solution, if it is the first row.
create a group with two question of matrix type
1. question (mandatory): only the mandatory row.
2. question (not mandatory): all other rows.
Do not enter subquestiion text in X-scale
Remember to set the same value of "subquestion width" in advanced settings.
in the question text of question 2 add:
Code:
<style> #question290 .question-title-container, #question290 .questionvalidcontainer { display:none; } #question290 .answer-container { padding-top:0; } </style>
You can find out in "Survey logic file".
I know, setting the styling is better by JS - mainly getting the QID -, but I am not so familiar with that.
Anyway, you will get something like the screenshots.
I hope I could help a little bit.
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 7 years 8 months ago by Joffm. Reason: Ergänzung
The following user(s) said Thank You: mana
The topic has been locked.
- mana
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
7 years 8 months ago #140004
by mana
Replied by mana on topic force user to answer
Dear Joffm
Can you send me LSS file ?
Can you send me LSS file ?
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12954
- Thank you received: 3984
7 years 8 months ago - 7 years 8 months ago #140005
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic force user to answer
Hi, mana,
first I want to add something:
if you add in the 1. question:
then there is no gap between.
Again the 285 is the QID of the upper question.
Well, here you get the QID, too.
In the "Question Summary" it is displayed.
And here the *.lss.
Kind regards
Joffm
first I want to add something:
if you add in the 1. question:
Code:
<style> #question285.question-container { margin-bottom:0; } </style>
Again the 285 is the QID of the upper question.
Well, here you get the QID, too.
In the "Question Summary" it is displayed.
And here the *.lss.
Kind regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 7 years 8 months ago by Joffm.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3594
7 years 8 months ago #140008
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic force user to answer
Have you tried forcing the answers with the whole question validation equation?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12954
- Thank you received: 3984
7 years 8 months ago #140009
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic force user to answer
Hi, mana,
of course, Tony is absolutely right.
See sample survey, especially "Advanced settings" of question
Best regards
Joffm
of course, Tony is absolutely right.
See sample survey, especially "Advanced settings" of question
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The following user(s) said Thank You: tpartner
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3594
7 years 8 months ago #140010
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic force user to answer
Thanks Joffm. I'm on my phone this weekend so couldn't supply an example.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.