HOW WE CAN HELP?

< All Topics

XLSForms- Appearance attributes

Print

In XLSForms, the appearance of questions can be altered according to your liking. To achieve this, an appearance column is created. These appearance attributes are:

Multiline

It is used with the text question type. It is best used with web clients, and makes the text box multiple lines long. To achieve this, create an appearance column in the survey worksheet, and input multiline.

Preview of the question on the survey form:

Minimal

Used in select_one or select_multiple question types. The answer choices appear in a pull-down menu. To achieve this, create an appearance column in the survey worksheet, and input minimal.

Preview of the question on the survey form:

Horizontal

Used in select_one and select_multiple question types. This displays the answer choices horizontally, but in columns. Mainly used for web clients only like Enketo. To achieve this, create an appearance column in the survey worksheet, and input horizontal.

Preview of the question on the survey form:

Horizontal-compact

Used for select_one and select_multiple. It is purposed for web clients only, and displays the answer choices horizontally. To achieve this, create an appearance column in the survey worksheet, and input horizontal-compact.

Preview of the question on the survey form:

Likert

Used for select_one question type. Best used with web clients, makes the answer choices appear as a likert scale. To achieve this, create an appearance column in the survey worksheet, and input likert.

Preview of the question on the survey form:

Compact

Used for select_one or select_multiple question types. It displays answer choices side by side with minimal padding and without radio buttons or checkboxes. It is particularly useful with image choices. To achieve this, create an appearance column in the survey worksheet, and input compact.

Preview of the question on the survey form:

Quickcompact

Used with the select_one question type. Same as compact, but auto-advances to the next question (in mobile clients only). To achieve this, create an appearance column in the survey worksheet, and input quickcompact.

Preview of the question on the survey form:

Label & List-nolabel

They are both used together in select_one and select_multiple question types. Label displays answer choice labels (and not inputs). On the other hand, list-nolabel displays the answer inputs without the labels.To achieve this, create an appearance column in the survey worksheet, and input label, and list-nolabel as per the corresponding questions.

*Note: Ensure that you put label and list-nolabel fields inside a group with field-list attribute if using mobile client like ODK Collect or Kobo Collect.

Preview of the question on the survey form:

Signature

Used in the image question type. It allows you to trace your signature into your form (mobile clients only). To achieve this, create an appearance column in the survey worksheet, and input signature.

*Note: To use the signature attribute, it is imperative that you create another column called parameters, and input the pixels you would like the image to appear with. 

Preview of the question on the survey form:

No-Calendar

Used in the date question type. Its purpose is to suppress the calendar, and is applicable to mobile clients only. To achieve this, create an appearance column in the survey worksheet and input no-calendar.

Preview of the question on the survey form:

Year

Used with the date question type. It only allows the selection of a date. To achieve this, create an appearance column in the survey worksheet and input year.

Preview of the question on the survey form:

Month-year

Used in conjunction with the date question type. It allows only the selection of a month and year as opposed to the whole date. To achieve this, create an appearance column in the survey worksheet and input month-year.

Preview of the question on the survey form:

Quick

Used in conjunction with select_one question type. It is relevant for mobile clients only, this attribute auto-advances the form to the next question after an answer is selected. To achieve this, create an appearance column in the survey worksheet and input quick.

Preview of the question on the survey form:

Field-list

Used in conjunction with groups. The entire group of questions appear on one screen (for mobile clients only). To achieve this, create an appearance column in the survey worksheet and input field-list.

Preview of question on the survey form:

 

 

 

 

 

 

 

 

 

 

 

 

 

Was this article helpful?
4.5 out Of 5 Stars
5 Stars 0%
4 Stars 100%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Previous Basics – XLSForm
Table of Contents