The Questions
Click a question row, or Add a question, and a window opens. The top of the window has nine buttons, one for each type of question. Below it, a big field takes the question, and a smaller field under it takes an optional help text, for example an instruction or a picture. The window has two tabs, Answers and Options.
The type buttons (1). Single-Select, Multi-Select, Long Text, Short Text, Number, Scale, Date, Datetime and Matrix. The tab Answers changes with the type.
The question (2). The text that the participant reads. Write it as a short, clear sentence.
The help text (3). An optional text under the question. It can have pictures and links.
The tabs (4 and 5). Answers and Options.
Choices (6). The list of answers that you offer. Type one per line. Press Enter to add the next line.
Create Leads (7). A tick box next to each choice. It shows when the CRM app is installed. When a participant picks a ticked choice, Odoo makes a lead (section 9).
Image (8). You can use a picture as the answer, instead of a text. The picture column is for this. The label of the answer is then optional.
The bin (9). Removes one choice.
Add a line (10). Adds one more choice.
Save and Discard (11 and 12). Save keeps the question. Discard closes the window without saving.
In an assessment, the tab Answers has two more columns, Correct and Score. Section 7 explains them.
The Nine Types of Question
Single-Select. The participant picks one choice. Odoo shows each choice as a line with a round button and a letter, A, B, C and so on. The participant can type the letter instead of clicking. Use it for a question like How did you hear about our showroom?
Multi-Select. The participant ticks one or more choices. Square boxes are used instead of round buttons. Here the question is Which areas did you visit? We also ticked the option Show Comments Field, so the page has an extra box, Other area, for a choice that is not in the list (section 3.2).
Long Text. A big box for a free answer of many lines. Use it for What should we improve? The participant presses Command or Ctrl and Enter to continue.
Short Text. One line for a short answer, such as a name or an email. This type has three extra tick boxes. Input must be an email checks that the answer looks like an email address. Save as user email (shown after the first one is ticked) keeps the answer as the email of the participant, so the Participants list shows it. Save as nickname keeps the answer as the name of the participant. A live session uses it for the names on the leaderboard (section 8.1).
Number. The participant types a number. Odoo refuses text. You can add a minimum and a maximum (section 3.2). Here the question is How many people came with you?, with limits from 0 to 50.
Scale. A row of numbers, from a first value to a last value, for example 1 to 5. The participant clicks one number. You choose the first and the last value, from 0 to 10, and a label for each end. Here the scale is from 1 to 5, with the labels Poor and Excellent. It suits a satisfaction question.
Date. A date picker. The participant types a date or clicks the small calendar. Here the question is When do you plan to buy new furniture?
Datetime. The same as Date, with an hour and minute. Use it to ask for the time of a visit.
Matrix. A table. The rows are the things to judge, and the columns are the possible answers. Here the rows are Desks, Chairs and Lamps, and the columns are Poor, Good and Great. The tab Answers has two lists for this type: Choices for the columns and Rows for the rows. The option Matrix Type (in the tab Options) chooses One choice per row, or Multiple choices per row. A matrix saves a lot of space when many items have the same answers.
The Options Tab of a Question
The tab Options has the rules of the question. It changes with the type. The next picture is the tab for a single-select question.
Show Comments Field (1). Adds a free text box under the choices, so the person can write another answer. You can change the text of the box (the default is If other, please specify:). The option Comment is an answer says that a comment counts as a real answer, for example when the question is mandatory. This choice exists for single-select, multi-select and matrix questions.
Conditional display: Triggering Answers (2). Choose one or more answers of earlier questions. This question then shows only when one of these answers was chosen. In our survey, Which words did you search for? shows only when the visitor chose A search engine. It is a good way to keep the survey short, because each person sees only the questions that make sense for them. The page below shows the conditional question, right after the choice A search engine.
Mandatory Answer (3). The participant must answer before going on. A red star appears next to the question. When the box is ticked, a field Error message shows (4), with the text that the participant sees when the answer is missing, for example Please choose one answer.
The tab has more fields for some types.
Validate entry. For Short Text, Number, Date and Datetime. When it is ticked, you set a minimum and a maximum, and a message (Displayed when the answer entered is not valid). For a short text the limits count the letters. For a number they are values. For a date they are dates. Be careful: for a short text and for a number, once the box is ticked, the two limits must be filled. For a date or a datetime, one of the two limits is enough. If you leave both at 0 on a short text, Odoo refuses every answer.
Placeholder. A short gray hint inside the empty box, for example Write your email here.
Matrix Type. For a matrix: One choice per row or Multiple choices per row.
Scale Range and Labels. For a scale, in the tab Answers: the first value and the last value (0 to 10), and the label for each end.
Live Sessions: Time Limit. For a live session, the seconds that the question stays open (section 8).
For an assessment, the tab Answers shows scores. For a number, a date or a datetime question, a box Correct Answer and the points. Section 7 has the details.
A question can also show the validation messages that Odoo writes itself. A number page that gets 75 when the limit is 50 shows the text of the field Validation Error of the question. When that field is empty, it says The answer you entered is not valid. A short text that is not an email says This answer must be an email address.
Sections
Click Add a section to make a gray row. A section has a title, and a description that the participant sees at the top of the page. All the questions under it belong to it. When the pagination is One page per section, a section is one page. When the selection is Randomized per Section, the section row has the field Random questions count, the number of questions Odoo picks from the section for each participant.