Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Adding Questionnaire questions.

Adding Questionnaire questions

From MoodleDocs
Revision as of 11:51, 7 April 2006 by James Ballard (talk | contribs) (:This is a)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Questions are added by defining fields.

Add/edit fields

To add a new field click the New Field button. To edit a field click the numbered button corresponding to that field e.g. 2 for field 2.

Field types

For each field type you should use a unique Field Name that allows you to identify it. You can then select different field types from the drop-down menu. You can choose whether each field is required or optional from the Required? drop-down menu. After each field is complete either add a new field or save.

Yes/No
A simple YES/NO question. The Length and Precision parameters are not used so you can leave them as zero. Type your question in the text area. You do not need to supply possible answers for this field.
Text
Allows limited character text entry via a single line text area. Use length to define the visible width of the text box and Precision to determine the maximum number of characters allowed. If Precision is greater than Length then the text will extend within the box. Type your question or information in the Text area. You do not need to supply possible answers for this field.
Essay
Allows essay style responses via a multi line text area, with no character limit. Length and Precision define the size of the available text area, although this will scroll. Length determines the number of columns (character width) and Precision the number of rows (lines). This can involve trial and error, although Length: 90, Precision: 7, should be a good general starting estimate. Type your question or information in the Text area. You do not need to supply possible answers for this field.
Radio Buttons
Radio buttons provide the user with a choice of options from which they can pick only one. This field ignores the Length and Precision parameters so you can leave them. Type your question or information in the Text area and the list of available options in the boxes underneath. You can add more possibilities using the Add another answer line button and add an other text field using !other as a possible answer.
Check Boxes
Check boxes allow the user to select multiple answers from a list of options. Length determines the minimum number of answers require and Precision the maximum number of selections allowed (these may not function fully as implemented). Type your question or information in the Text area and the list of available options in the boxes underneath. You can add more possibilities using the Add another answer line button and add an other text field using !other as a possible answer.
Dropdown Box
Users select one option from a drop-down list. This field ignores the Length and Precision parameters so you can leave them. Type your question or information in the Text area and the list of available options in the boxes underneath. You can add more possibilities using the Add another answer line button and add an other text field using !other as a possible answer.
Rate (scale 1..5)
Allows users to rate statements on a scale from 1 to N, where N is determined by the Length value. If you wish to include a N/A option set Precision to 1 (any non-zero number may work). Type your question or information in the Text area and the list of available statements to be rated in the boxes underneath. You can add more statements using the Add another answer line button.
Date
Requires users to submit a date. This field ignores the Length and Precision parameters so you can leave them. Type your question or information in the Text area. You do not need to supply possible answers for this field.
Numeric
Require users to submit a numeric response. This field ignores the Length and Precision parameters so you can leave them. Type your question or information in the Text area. You do not need to supply possible answers for this field.
Section Text
This is a text field that allows you to present information in between different fields. It does not offer user feedback.

Arrangement

The buttons underneath the field setup options, allow you preview the current status of your questionnaire and reorder the question fields.