- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to create Triple Scale Array
- faizanakhtar
- Topic Author
- Offline
- New Member
Less
More
12 years 10 months ago #61185
by faizanakhtar
How to create Triple Scale Array was created by faizanakhtar
Hi,
Is it possible to create Triple Array Scale in Limesurvey. Or can we modify Dual Array Scale to triple or quadruple.
If someone has done thin before then pls let me know how to go about it.
Thanks in advance
Faizan
Is it possible to create Triple Array Scale in Limesurvey. Or can we modify Dual Array Scale to triple or quadruple.
If someone has done thin before then pls let me know how to go about it.
Thanks in advance
Faizan
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
12 years 10 months ago #61196
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 How to create Triple Scale Array
You can lay out several array questions side-by-side. See this post -
www.limesurvey.org/en/forum/design-issue...-slider-layout#61038
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- faizanakhtar
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
12 years 10 months ago #61197
by faizanakhtar
Replied by faizanakhtar on topic How to create Triple Scale Array
Thanks for the reply.
I want to have radio buttons instead of numeric text. Is it possible to build three arrays, each with 5 radio buttons.
I want to have radio buttons instead of numeric text. Is it possible to build three arrays, each with 5 radio buttons.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
12 years 10 months ago #61204
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 How to create Triple Scale Array
Yes, but the CSS details would depend on the template you are using. The styles in the linked post should give you a starting point.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- hliboi
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
10 years 2 months ago - 10 years 2 months ago #103897
by hliboi
Replied by hliboi on topic How to create Triple Scale Array
Could somebody help me build a triple radio button scale. Example is attached. This help would be really appreciated.
Thank You
Edit:
Just saw that i would also separate headers for each scale.
Thank You
Edit:
Just saw that i would also separate headers for each scale.
Attachments:
Last edit: 10 years 2 months ago by hliboi. Reason: adding
The topic has been locked.
- hliboi
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
10 years 2 months ago #103939
by hliboi
Replied by hliboi on topic How to create Triple Scale Array
I tried to find a solution in the above link but couldnt find where can i customize the code of the template. Please help.
The topic has been locked.
- hliboi
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
10 years 2 months ago - 10 years 2 months ago #103943
by hliboi
[/code]
Is this possible? Adding the scale like this?
Thank You
Replied by hliboi on topic How to create Triple Scale Array
Code:
[code]<?xml version="1.0" encoding="UTF-8"?> <document> <LimeSurveyDocType>Question</LimeSurveyDocType> <DBVersion>146</DBVersion> <languages> <language>pt</language> </languages> <questions> <fields> <fieldname>qid</fieldname> <fieldname>parent_qid</fieldname> <fieldname>sid</fieldname> <fieldname>gid</fieldname> <fieldname>type</fieldname> <fieldname>title</fieldname> <fieldname>question</fieldname> <fieldname>preg</fieldname> <fieldname>help</fieldname> <fieldname>other</fieldname> <fieldname>mandatory</fieldname> <fieldname>question_order</fieldname> <fieldname>language</fieldname> <fieldname>scale_id</fieldname> <fieldname>same_default</fieldname> </fields> <rows> <row> <qid><![CDATA[5997]]></qid> <parent_qid><![CDATA[0]]></parent_qid> <sid><![CDATA[41593]]></sid> <gid><![CDATA[259]]></gid> <type><![CDATA[1]]></type> <title><![CDATA[1]]></title> <question><![CDATA[]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[Y]]></mandatory> <question_order><![CDATA[2]]></question_order> <language><![CDATA[pt]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> </rows> </questions> <subquestions> <fields> <fieldname>qid</fieldname> <fieldname>parent_qid</fieldname> <fieldname>sid</fieldname> <fieldname>gid</fieldname> <fieldname>type</fieldname> <fieldname>title</fieldname> <fieldname>question</fieldname> <fieldname>preg</fieldname> <fieldname>help</fieldname> <fieldname>other</fieldname> <fieldname>mandatory</fieldname> <fieldname>question_order</fieldname> <fieldname>language</fieldname> <fieldname>scale_id</fieldname> <fieldname>same_default</fieldname> </fields> <rows> <row> <qid><![CDATA[5998]]></qid> <parent_qid><![CDATA[5997]]></parent_qid> <sid><![CDATA[41593]]></sid> <gid><![CDATA[259]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[1]]></title> <question><![CDATA[atributo 1]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[1]]></question_order> <language><![CDATA[pt]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[5999]]></qid> <parent_qid><![CDATA[5997]]></parent_qid> <sid><![CDATA[41593]]></sid> <gid><![CDATA[259]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[2]]></title> <question><![CDATA[atributo 2]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[2]]></question_order> <language><![CDATA[pt]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> </rows> </subquestions> <answers> <fields> <fieldname>qid</fieldname> <fieldname>code</fieldname> <fieldname>answer</fieldname> <fieldname>assessment_value</fieldname> <fieldname>sortorder</fieldname> <fieldname>language</fieldname> <fieldname>scale_id</fieldname> </fields> <rows> <row> <qid><![CDATA[5997]]></qid> <code><![CDATA[1]]></code> <answer><![CDATA[1 escala 1]]></answer> <assessment_value><![CDATA[1]]></assessment_value> <sortorder><![CDATA[1]]></sortorder> <language><![CDATA[pt]]></language> <scale_id><![CDATA[0]]></scale_id> </row> <row> <qid><![CDATA[5997]]></qid> <code><![CDATA[2]]></code> <answer><![CDATA[2 escala 1]]></answer> <assessment_value><![CDATA[1]]></assessment_value> <sortorder><![CDATA[2]]></sortorder> <language><![CDATA[pt]]></language> <scale_id><![CDATA[0]]></scale_id> </row> <row> <qid><![CDATA[5997]]></qid> <code><![CDATA[1]]></code> <answer><![CDATA[1 escala 2]]></answer> <assessment_value><![CDATA[0]]></assessment_value> <sortorder><![CDATA[1]]></sortorder> <language><![CDATA[pt]]></language> <scale_id><![CDATA[1]]></scale_id> </row> <row> <qid><![CDATA[5997]]></qid> <code><![CDATA[2]]></code> <answer><![CDATA[2 escala 2]]></answer> <assessment_value><![CDATA[1]]></assessment_value> <sortorder><![CDATA[2]]></sortorder> <language><![CDATA[pt]]></language> <scale_id><![CDATA[1]]></scale_id> </row> <row> <qid><![CDATA[5997]]></qid> <code><![CDATA[3]]></code> <answer><![CDATA[3 escala 2]]></answer> <assessment_value><![CDATA[1]]></assessment_value> <sortorder><![CDATA[3]]></sortorder> <language><![CDATA[pt]]></language> <scale_id><![CDATA[1]]></scale_id> </row> <row> <qid><![CDATA[5997]]></qid> <code><![CDATA[1]]></code> <answer><![CDATA[1 escala 3]]></answer> <assessment_value><![CDATA[1]]></assessment_value> <sortorder><![CDATA[1]]></sortorder> <language><![CDATA[pt]]></language> <scale_id><![CDATA[2]]></scale_id> </row> <row> <qid><![CDATA[5997]]></qid> <code><![CDATA[2]]></code> <answer><![CDATA[2 escala 3]]></answer> <assessment_value><![CDATA[1]]></assessment_value> <sortorder><![CDATA[2]]></sortorder> <language><![CDATA[pt]]></language> <scale_id><![CDATA[2]]></scale_id> </row> <row> <qid><![CDATA[5997]]></qid> <code><![CDATA[3]]></code> <answer><![CDATA[3 escala 3]]></answer> <assessment_value><![CDATA[1]]></assessment_value> <sortorder><![CDATA[3]]></sortorder> <language><![CDATA[pt]]></language> <scale_id><![CDATA[2]]></scale_id> </row> </rows> </answers> <question_attributes> <fields> <fieldname>qid</fieldname> <fieldname>attribute</fieldname> <fieldname>value</fieldname> </fields> <rows> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[answer_width]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[array_filter]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[array_filter_exclude]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[dropdown_prepostfix]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[dropdown_separators]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[dualscale_headerA]]></attribute> <value><![CDATA[Escala 1]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[dualscale_headerB]]></attribute> <value><![CDATA[Escala 2]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[dualscale_headerC]]></attribute> <value><![CDATA[Escala 3]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[hidden]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[page_break]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[public_statistics]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[random_group]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[random_order]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[scale_export]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[5997]]></qid> <attribute><![CDATA[use_dropdown]]></attribute> <value><![CDATA[0]]></value> </row> </rows> </question_attributes> </document>
Is this possible? Adding the scale like this?
Thank You
Last edit: 10 years 2 months ago by hliboi.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
10 years 2 months ago #103955
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 How to create Triple Scale Array
As pointed out in previous posts, you will need to create 3 separate array questions and then use CSS (and maybe JavaScript) to align them side-by-side.
The CSS and JS would depend entirely on the template being used.
Also note that things could get a little messy if you want the questions to be mandatory.
.
The CSS and JS would depend entirely on the template being used.
Also note that things could get a little messy if you want the questions to be mandatory.
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.