Zu Hauptinhalten wechseln

FV Decipher Unterstützung

Alle Themen, Ressourcen für FV Decipher benötigt.

 
decipher

Single-Select Question XML

1:  Overview

The radio element is a single-select question type that enables respondents to choose one answer from a list of choices.

The examples below demonstrate the different layouts available when working with radio questions.

2:  1-Dimensional

A 1-dimensional radio question requires only a single item to be selected.

2.1:  With Rows Only

When only row elements are provided, the radio question defaults to grouping by columns. This means that only one selection can be made for each column.

In this example, there are two row elements and no column elements. If you do not need a column header, you do not need to explicitly define the column element.

 <radio label="Q1">
    <title>Are you...</title>
    <comment>Please select one</comment>
    <row label="r1">Male</row>
    <row label="r2">Female</row>
</radio>

2.2:  With Rows and a Column Header

This example demonstrates the difference when a column element is defined. We now have the ability to define a column header.

The question is grouped by columns and only one selection can be made for the "TV Size" column.

<radio label="Q2">
   <title>
     In your household, how large is your primary TV?
    </title>
    <comment>Please select one</comment>
    <col label="c1">TV Size</col>
    <row label="r1">15" - 24"</row>
    <row label="r2">25" - 34"</row>
    <row label="r3">35" - 44"</row>
    <row label="r4">45" - 54"</row>
    <row label="r5">55" - 64"</row>
    <row label="r6">Larger than 65"</row>
</radio>   

2.3:  With Columns Only

Here is the same gender example as above with the row elements specified as columns instead.

In this example, the question contains only column elements and is grouped by rows. This means that only one selection can be made for the entire row.

<radio label="Q1">
   <title>
     Are you...
    </title>
    <comment>Please select one</comment>
    <col label="c1">Male</col>
    <col label="c2">Female</col>
</radio>   

2.4:  With Columns and a Row Legend

Here is the same TV example as above with the row elements specified as columns instead.

The question contains both column and row elements. It's grouped by rows and only one selection can be made for the entire row.

<radio label="Q2" >
   <title>
     In your household, how large is your primary TV?
   </title>
   <comment>Please select one</comment>
   <row label="r1">TV Size</row>
   <col label="c1">15" - 24"</col>
   <col label="c2">25" - 34"</col>
   <col label="c3">35" - 44"</col>
   <col label="c4">45" - 54"</col>
   <col label="c5">55" - 64"</col>
   <col label="c6">Larger than 65"</col>
</radio>  

3:  2-Dimensional

A 2-dimensional radio question has multiple rows and columns, requiring a single selection to be made on a per row or per column basis.

3.1:  Grouped by Rows

When multiple rows and column elements are provided, the radio question defaults to grouping by rows. This means that only one selection can be made for each row.

This example reflects a standard rating-style question, where the respondent is asked to rate each row item on a scale from 1 - 5.

<radio label="Q3">
   <title>
      Thinking about your last visit, please rate your satisfaction level in the following categories...
    </title>
    <comment>Please select one for each row</comment>
    <row label="r1">Speed of Service</row>
    <row label="r2">Hospitality</row>
    <row label="r3">Customer Service</row>
    <row label="r4">Overall Satisfaction</row>
    <col label="c1">Satisfied <br/>1</col>
    <col label="c2">2</col>
    <col label="c3">3</col>
    <col label="c4">4</col>
    <col label="c5">Dissatisfied <br/>5</col>
</radio>     

3.2:  Grouped by Columns

In this example, we have set the grouping attribute to group by columns. This means that only one selection can be made for each column.

This example requests the respondent to choose their most and least favorite row item. The data collected would not make sense if the respondent was forced to make a selection for each row, so we must specify the attribute, grouping="cols".

<radio label="Q4" grouping="cols" unique="1">
   <title>
      Thinking about your last visit, please select your most and least favorite aspect of your experience...
    </title>
    <comment>Please select one for each column</comment>
    <row label="r1">Speed of Service</row>
    <row label="r2">Hospitality</row>
    <row label="r3">Customer Service</row>
    <row label="r4">Overall Satisfaction</row>
    <col label="c1">Most Favorite</col>
    <col label="c2">Least Favorite</col>
</radio> 
  • War dieser Artikel hilfreich?