- Posts: 10634
- Thank you received: 3698
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Create Dual Scale Array with condition ( disable radio of sub-question )
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
7 years 10 months ago #136547
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 Create Dual Scale Array with condition ( disable radio of sub-question )
This workaround was never intended to work with "No Answer" enabled for the survey. I never use that.
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: michaelji
The topic has been locked.
- Maverick87Shaka
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 3
7 years 10 months ago #136778
by Maverick87Shaka
Replied by Maverick87Shaka on topic Create Dual Scale Array with condition ( disable radio of sub-question )
Since I have to use this question type more and more ( because it's works as I need ), there is some chance to put this question as a "question type" inside limesurvey?
I would like to create a question type, to avoid the risk to brake the javascript editing the question sentences, it's possible?
Thanks again!
I would like to create a question type, to avoid the risk to brake the javascript editing the question sentences, it's possible?
Thanks again!
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
7 years 10 months ago #136787
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 Create Dual Scale Array with condition ( disable radio of sub-question )
Currently there is no facility to add custom question types without hacking the core code.
If you are concerned about editing question text, you can place the JavaScript in the group description.
If you are concerned about editing question text, you can place the JavaScript in the group description.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- michaelji
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 0
7 years 9 months ago #136983
by michaelji
Replied by michaelji on topic Create Dual Scale Array with condition ( disable radio of sub-question )
I am unable to find where or how I can assign values for these question answers to a category.
For instance: Option 1, value 4 was selected. I need to assign value 4 to Category 3 and total the values for each Category. So when the survey is over I need to score them on the Category they chose the most.
Thanks again for the solution in this topic. I will add that I had to turn of "No Answers" and "Mandatory" off, but needed to add Min and Max answer values of 2. I got error messages that not all the required number of answers were chosen and survey preview.
For instance: Option 1, value 4 was selected. I need to assign value 4 to Category 3 and total the values for each Category. So when the survey is over I need to score them on the Category they chose the most.
Thanks again for the solution in this topic. I will add that I had to turn of "No Answers" and "Mandatory" off, but needed to add Min and Max answer values of 2. I got error messages that not all the required number of answers were chosen and survey preview.
The topic has been locked.
- michaelji
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 0
7 years 8 months ago #139672
by michaelji
Replied by michaelji on topic Create Dual Scale Array with condition ( disable radio of sub-question )
Attachments:
The topic has been locked.
- michaelji
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 0
7 years 8 months ago #139673
by michaelji
Replied by michaelji on topic Create Dual Scale Array with condition ( disable radio of sub-question )
I cannot find where in the template editor I need to edit this setting, if that is where I need to go.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
7 years 8 months ago #139687
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 Create Dual Scale Array with condition ( disable radio of sub-question )
You don't have a answer width setting in Array dual scale ?
manual.limesurvey.org/Question_type_-_Ar...h_.28answer_width.29
This set the width of the first column.
Denis
manual.limesurvey.org/Question_type_-_Ar...h_.28answer_width.29
This set the width of the first column.
Denis
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.
- michaelji
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 0
7 years 7 months ago #139776
by michaelji
Replied by michaelji on topic Create Dual Scale Array with condition ( disable radio of sub-question )
No, I do not have that option. (version 2.50 latest build). Also, these are code built on array. Due to code some feature are disabled. Earlier in the thread is the code. I presume that I must change or add a setting for the width of the answer section.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
7 years 7 months ago #139785
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 Create Dual Scale Array with condition ( disable radio of sub-question )
I see that answer width setting in the latest build but it doesn't seem to work - I need to test more.
In the meantime, adding something like this to the question source will fix the answer widths:
In the meantime, adding something like this to the question source will fix the answer widths:
Code:
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#question{QID} th.answertext').css('width', '40%'); }); </script>
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: 13935
- Thank you received: 2551
7 years 7 months ago #139793
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 Create Dual Scale Array with condition ( disable radio of sub-question )
I have it on last GIT version.
And it work
And it work
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.
Attachments:
The topic has been locked.
- michaelji
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 0
6 years 4 months ago #160830
by michaelji
Replied by michaelji on topic Create Dual Scale Array with condition ( disable radio of sub-question )
how can I get this type of array to work in version 3? I tried a test on the beta in a new install, imported the questions I am using with this and it displays very poorly.
I hope I don't have to be stuck on version 2.6x just to use it.
I hope I don't have to be stuck on version 2.6x just to use it.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
6 years 4 months ago #160849
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 Create Dual Scale Array with condition ( disable radio of sub-question )
Bug reported -
bugs.limesurvey.org/view.php?id=12942
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.