How to create Triple Scale Array

Plus d'informations
il y a 7 ans 10 mois #61185 par faizanakhtar
COM_KUNENA_MESSAGE_CREATED_NEW
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

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 7 ans 10 mois #61196 par tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 10 mois #61197 par faizanakhtar
COM_KUNENA_MESSAGE_REPLIED_NEW
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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 10 mois #61204 par tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 2 mois - il y a 5 ans 2 mois #103897 par hliboi
COM_KUNENA_MESSAGE_REPLIED_NEW
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.
Pièces jointes :
Last edit: il y a 5 ans 2 mois by hliboi. Raison: adding

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 2 mois #103939 par hliboi
COM_KUNENA_MESSAGE_REPLIED_NEW
I tried to find a solution in the above link but couldnt find where can i customize the code of the template. Please help.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 2 mois - il y a 5 ans 2 mois #103943 par hliboi
COM_KUNENA_MESSAGE_REPLIED_NEW
[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>
[/code]

Is this possible? Adding the scale like this?
Thank You
Last edit: il y a 5 ans 2 mois by hliboi.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 2 mois #103955 par tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
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.

.

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

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!