Create Dual Scale Array with condition ( disable radio of sub-question )

More
1 year 6 months ago #136547 by tpartner
tpartner replied the 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

Please Log in to join the conversation.

More
1 year 6 months ago #136778 by Maverick87Shaka
Maverick87Shaka replied the 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!

Please Log in to join the conversation.

More
1 year 6 months ago #136787 by tpartner
tpartner replied the 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.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
1 year 6 months ago #136983 by michaelji
michaelji replied the 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. B)

Please Log in to join the conversation.

More
1 year 4 months ago #139672 by michaelji
michaelji replied the topic: Create Dual Scale Array with condition ( disable radio of sub-question )
I have a question regarding formatting the display of this Array.
Currently, the questions format as this screen shot shows. Is there a way to constrain the right side answers to one size in order that they do not change or look so disorganized.

Attachments:

Please Log in to join the conversation.

More
1 year 4 months ago #139673 by michaelji
michaelji replied the 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.

Please Log in to join the conversation.

More
1 year 4 months ago #139687 by DenisChenu
DenisChenu replied the 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

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 year 4 months ago #139776 by michaelji
michaelji replied the 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.

Please Log in to join the conversation.

More
1 year 4 months ago #139785 by tpartner
tpartner replied the 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:

<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.

Please Log in to join the conversation.

More
1 year 4 months ago #139793 by DenisChenu
DenisChenu replied the topic: Create Dual Scale Array with condition ( disable radio of sub-question )
I have it on last GIT version.

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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Attachments:

Please Log in to join the conversation.

More
2 weeks 6 days ago #160830 by michaelji
michaelji replied the 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.

Please Log in to join the conversation.

More
2 weeks 5 days ago #160849 by tpartner
tpartner replied the topic: Create Dual Scale Array with condition ( disable radio of sub-question )

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!