- Posts: 12881
- Thank you received: 3965
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
semantic differential - mandatory and with "no answer"
- Joffm
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
4 years 1 month ago #194382
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
semantic differential - mandatory and with "no answer" was created by Joffm
Hi, all,
here a question where I do not find a solution.
Scenario:
array with sementic differential and "no answer" at the right.
This is easy, if I set "not mandatory" and "show no answer=ON"
Answer codes from 1 to 7.
But the precoded "no answer" is not desired.
So I set {Q1_SQ001=0}, set it to a not existing answer code.
And I got:
which looks better.
But still the question is not mandatory.
I do not find a way to validate that each row is answered.
This because in the answer table the "no answer" column is empty.
In Q11_SQ002 "no answer" was selected.
So, my question:
Is there a way to validate this, or a different approach to have a mandatory array with an answer option "no answer", but move this to the right?
This is what I have so far, but the client is not satisfied.
Thanks in advance
Joffm
here a question where I do not find a solution.
Scenario:
array with sementic differential and "no answer" at the right.
This is easy, if I set "not mandatory" and "show no answer=ON"
Answer codes from 1 to 7.
But the precoded "no answer" is not desired.
So I set {Q1_SQ001=0}, set it to a not existing answer code.
And I got:
which looks better.
But still the question is not mandatory.
I do not find a way to validate that each row is answered.
This because in the answer table the "no answer" column is empty.
In Q11_SQ002 "no answer" was selected.
So, my question:
Is there a way to validate this, or a different approach to have a mandatory array with an answer option "no answer", but move this to the right?
This is what I have so far, but the client is not satisfied.
Thanks in advance
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11637
- Thank you received: 2737
4 years 1 month ago #194393
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic semantic differential - mandatory and with "no answer"
Dear Joffm, first the basics:
Which LS version?
Which template/theme?
Can you provide a LSS?
Hhahahaha, I couldn't resist, sorry.
Which LS version?
Which template/theme?
Can you provide a LSS?
Hhahahaha, I couldn't resist, sorry.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Joffm
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
4 years 1 month ago #194395
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic semantic differential - mandatory and with "no answer"
Oh, yes, I am sure, that you couldn't resist.
But you're absolutely right.
If we disregard the simplest rules, what should the newcomers think of us?
Version 3.22.1+200129
Theme doesn't seem to be important.
Here I showed it in "fruity", but in the real survey I use an extended theme from tfr.
Joffm
But you're absolutely right.
If we disregard the simplest rules, what should the newcomers think of us?
Version 3.22.1+200129
Theme doesn't seem to be important.
Here I showed it in "fruity", but in the real survey I use an extended theme from tfr.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11637
- Thank you received: 2737
4 years 1 month ago #194396
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic semantic differential - mandatory and with "no answer"
I bet that Tpartner will find a solution. If I would have to guess, he will probably create a question with the "no answer" option as part of the scale and not via the LS settings, and then move this column to the right via Javascript, or something like that.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10098
- Thank you received: 3589
4 years 1 month ago #194417
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 semantic differential - mandatory and with "no answer"
Did I hear my name?
This small script will insert the last column before the second last column:
Sample survey attached:
This small script will insert the last column before the second last column:
Code:
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Define this question var thisQuestion = $('#question{QID}'); // Move the last column $('col:nth-last-child(2)', thisQuestion).before($('col:last-child', thisQuestion)); $('table.subquestion-list tr', thisQuestion).each(function(i) { $('> *:nth-last-child(2)', this).before($('> *:last-child', this)); }); }); </script>
Sample survey attached:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- Joffm
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
4 years 1 month ago #194419
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic semantic differential - mandatory and with "no answer"
Hi, Tony,
yes, you're right.
But since I'm too shy to call you directly,
holch had the assumption that you would help me (which of course I also hoped).
As usual an awful solution.
Thanks a lot.
Joffm
And again I learned something more about javascript.
yes, you're right.
But since I'm too shy to call you directly,
holch had the assumption that you would help me (which of course I also hoped).
As usual an awful solution.
Thanks a lot.
Joffm
And again I learned something more about javascript.
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 1 month ago #194444
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 semantic differential - mandatory and with "no answer"
A good idea for a question theme
Place the right part at position "X"
Place the right part at position "X"
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 topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10098
- Thank you received: 3589
4 years 1 month ago #194466
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 semantic differential - mandatory and with "no answer"
Yeah, easy, I'll do it this week.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 1 month ago #194487
by DenisChenu
And i didn't say this to have one
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 semantic differential - mandatory and with "no answer"
Unsure it was so easytpartner wrote: Yeah, easy, I'll do it this week.
And i didn't say this to have one
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 topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10098
- Thank you received: 3589
4 years 1 month ago #194502
by tpartner
I hope the community will benefit from the custom question theme here - github.com/tpartner/LimeSurvey-Adjustabl...c-Differential-Array
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic semantic differential - mandatory and with "no answer"
No worries, I did not assume that and I welcome suggestions.DenisChenu wrote: And i didn't say this to have one
I hope the community will benefit from the custom question theme here - github.com/tpartner/LimeSurvey-Adjustabl...c-Differential-Array
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 1 month ago #194517
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 semantic differential - mandatory and with "no answer"
I see you use javascript ,
I confirm : doing ot without js seems near impossible. But in my opinion : it must be available without js .... questiontheme still lack of real functionnality
I confirm : doing ot without js seems near impossible. But in my opinion : it must be available without js .... questiontheme still lack of real functionnality
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 topic has been locked.