This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:stuff [20.11.2011 19:52] – created lmumovie | en:create:stuff [18.12.2014 21:03] – admin | ||
---|---|---|---|
Line 14: | Line 14: | ||
* **Name** " | * **Name** " | ||
- | * **Title** " | + | * **Title** " |
Leave the other settings unchanged and save the questionnaire by clicking **OK**. Subsequently, | Leave the other settings unchanged and save the questionnaire by clicking **OK**. Subsequently, | ||
Line 50: | Line 50: | ||
{{: | {{: | ||
+ | ===== A Welcome at the Start of the Questionnaire ===== | ||
+ | |||
+ | In contrast to the registration form above, most questionnaires start with a friendly welcome page. The procedure is similar to adding a heading: | ||
+ | |||
+ | * Click on **Text Elements and Labels** and create a new //text element//. | ||
+ | * Add an empty page at the beginning when composing your questionnaire. | ||
+ | * Drag and drop the text element onto the empty page. | ||
+ | |||
+ | ===== Text Input and Selection ===== | ||
+ | |||
+ | To add the text input fields (question 1: surname, first name etc in the example above), you need to create a question of the type **Text input**. | ||
+ | |||
+ | It is usually sensible to define the **Label Width**, e.g. " | ||
+ | |||
+ | For the selection (question: Main subject), you need __another question__ of the type **Selection**. | ||
+ | |||
+ | ==== Step by Step ==== | ||
+ | |||
+ | - Click on **New section** (on the left below List of Questions). | ||
+ | - On the right you can see the form for sections. Enter " | ||
+ | - On the right the form for a new question appears. In case it doesn' | ||
+ | - Type " | ||
+ | - On the right, further options for text input fields appear. Type in the following **Question title**: " | ||
+ | - Enter the items (Name, First Name, Student ID, ...) in the **Quick input for items** below. Alternatively, | ||
+ | - For the selection, click on **Add question** on the left. | ||
+ | - **Term** "Main Subject", | ||
+ | - **Question title** " | ||
+ | |||
+ | ===== A smaller text input field ===== | ||
+ | |||
+ | For text input fields you can individually define the height and width. If you do not enter a height, text input fields are one row high and do not allow multi-line input. | ||
+ | |||
+ | To make the text field smaller, simply define the **Width of the text input field** - " | ||
+ | |||
+ | ==== Step by Step ==== | ||
+ | |||
+ | - Select **SD Student Data** (List of Questions). | ||
+ | - Select the question **Personal Details** (List of Questions). | ||
+ | - Enter the width of the input field in the **Quick input for items** __or__ select the item **Year of Study** (List of Questions). | ||
+ | - Enter " | ||
+ | |||
+ | ===== Gender Selection below the Text Inputs ===== | ||
+ | |||
+ | The last item of the personal details is a dropdown selection. Although it doesn' | ||
+ | |||
+ | It is not visibly a separate question, because it is directly attached to the previous question. To do that, the previous question must not have any spacing - this can be set either via the settings for question items (see [[en: | ||
+ | |||
+ | ==== Step by Step ==== | ||
+ | |||
+ | - Add a new question of the **Type** " | ||
+ | - As a **Lead text for the options**, enter "You are:". In the tab **Position of opener and input field**, enter " | ||
+ | - Create " | ||
+ | - Click **Compose Questionnaire** on the left and select the questionnaire " | ||
+ | - You can now add all three questions using the mouse (mind the sequence: SD01, SD03, SD02) or add a PHP code. | ||
+ | - If you have added the questions using the mouse, click on the first question (not on the title, but on the picture). In the dropdown menu **Spacing to the next question**, select **No spacing**. Confirm by clicking the green checkmark. Now, click on the second question (the dropdown selection). In **Show question text**, select the option **No**. Un-tick the box **Show explanation**. Confirm again by clicking the green checkmark. | ||
+ | - In case you decided to add PHP code, enter the following code: | ||
+ | |||
+ | <code php> | ||
+ | question(' | ||
+ | question(' | ||
+ | question(' | ||
+ | </ | ||
+ | |||
+ | The code must contain the correct question IDs. In this example, these are SD01 to SD03. | ||
+ | |||
+ | After (automatically) saving the questionnaire, | ||
+ | |||
+ | ===== Selection Option " | ||
+ | |||
+ | When using selection or multiple choice questions, additional input boxes can be displayed. This can be simply done by ticking the box //Show text input field for this option// in the item properties. You should define a width for this input box, since otherwise Internet Explorer will use the maximum width and spread the item over multiple rows. | ||
+ | |||
+ | ==== Step by Step ==== | ||
+ | |||
+ | - Select section //SD Student Data// (List of Questions). | ||
+ | - Select question //Main Subject// (List of Questions). | ||
+ | - Select item //Other// or create as a new item (List of Questions). | ||
+ | - Tick the box //Show text input field for this option//. | ||
+ | - Set the //Width of the input field// to " | ||
+ | - Select question //Main Subject// again (List of Questions) and check the result in the preview at the bottom. | ||
+ | |||
+ | ===== Label the Next Button ===== | ||
+ | |||
+ | Any text that is displayed in the questionnaire can be edited via **Text Elements and Labels**. | ||
+ | |||
+ | ==== Step by Step ==== | ||
+ | |||
+ | - Select **Text Elements and Labels** from the menu. | ||
+ | - Beside //Next Button//, type " | ||
+ | - Beside //Page title//, you can optionally also type " | ||
+ | - Save by clicking //OK//. | ||
+ | |||
+ | **Important: | ||
+ | |||
+ | ===== Activate and Edit Layout ===== | ||
+ | |||
+ | The width of the questionnaire is set by the layout used. For example, the standard layout "oFb blue" allows a lot of space, the layout "oFb paper" considerably less. | ||
+ | |||
+ | The example above uses the layout " | ||
+ | |||
+ | ==== Step by Step ==== | ||
+ | |||
+ | - Select **Questionnaire Layout** from the menu. | ||
+ | - Activate the layout "oFb neutral" | ||
+ | - The layout now appears in the list at the top. Click the description "oFb neutral" | ||
+ | - At the top, change the //ID// to " | ||
+ | - Below, you can change the colours of the layout - to edit the width you have to scroll down to the bottom to the //HTML Template of the Layout//. Here, you can find the line:\\ div.questionary { width: 600px; margin: 20px auto 0px auto; text-align: left; } | ||
+ | - Change the width of the layout (here defined as div.questionary) to 450 pixels:\\ div.questionary { width: 450px; margin: 20px auto 0px auto; text-align: left; } | ||
+ | - Save by clicking //OK//. | ||
+ | - Select you questionnaire via **Compose Questionnaire** and in the tab // | ||
+ | |||
+ | ===== Further Solutions ===== | ||
+ | |||
+ | Solutions for other tasks can be found in the chapter [[composition|Advanced Display Options]]. |