Form elements
You build a form from elements in the form editor. Via "Add content", you add the following elements to a layout:

You set the elements of the group "Question types" to "Mandatory" or "Optional". Participants fill in a mandatory element before they finish the form. An optional element may stay empty.
Many elements can be placed in an alert box in the "Style" tab. In the "Layout" tab, you set the distance to the other elements.
Title
With the element "Title", you structure the form with headings. You choose the size in the levels h1 to h6.

Text
With the element "Text", you add information or questions to the form. A small editor formats the text and inserts links and bullet points.

Table
With the element "Table", you present information clearly in rows and columns. In the inspector, you set among other things "Row", "Column", "Row header" and "Column header".

Rubric
With a rubric, people rate several criteria or statements on the same scale. The rows hold the criteria or statements, the columns the levels of the rating scale. In courses, the rubric serves, for example, coaches as a grading grid or participants for peer reviews in the course element "Task".
How you configure a rubric is described on the page The form element rubric.

Single choice
In a single choice, participants select exactly one option from a list.
- With the button "Add choice", you add further options.
- With the arrows, you move an entry up or down.
- Under "Presentation", you choose whether the options appear "Vertical", "Horizontal" or as a "Dropdown".
Tip
Write the question for the selection in a separate element "Text". The same applies to the multiple choice.
The single choice can be the condition of a question rule. Depending on the selected answer, the form then shows certain containers with their contents.
In the inspector, give the element a meaningful name under "Name" so that you find it again in the question rules.

Multiple choice
In a multiple choice, participants select one or more options from a list.
- With the button "Add choice", you add further options.
- With the arrows, you move an entry up or down.
- Under "Presentation", you choose whether the options appear "Vertical", "Horizontal" or as a "Dropdown".
- With the option "Participant can insert other values", participants add their own answers.
The multiple choice can be the condition of a question rule. Depending on the selected answer, the form then shows certain containers with their contents.
In the inspector, give the element a meaningful name under "Name" so that you find it again in the question rules.

Text block
In the element "Text block", participants enter their own text in a free text field.
- Under "Input type", you set whether participants enter "Text" or a number ("Numeric"). For a date, add the separate element Date / Time.
- Under "Row type", you choose "Single row" or "Multiple rows".

Date / Time
With the element "Date / Time", participants enter a date, optionally with a time, for example the start of an exam. They choose the date in the calendar of the field.
- Under "Input type", you set whether participants enter only a "Date" or "Date / Time".
- Under "Action", you tick "With fill-in action". A button then appears next to the field that enters the current date with one click, with "Date / Time" also the current time. You set the label of the button yourself, the default is "Set to now".
- Under "Obligation", you choose "Mandatory" or "Optional".
Upload file
With the element "Upload file", participants upload a file into the form.
- Under "Maximum file size", you limit the size of the file.
- Under "File type", you allow only certain file types, for example "PDF" or "Image".

Respondent details
With the element "Respondent details", you ask for details about the person who fills in the form, for example first name, last name or email. Under "Information", you tick the details you need. A form contains the element at most once.
Under "Obligation", you choose one of three variants:
- Optional - can be left blank: Participants fill in the details voluntarily.
- Mandatory - editable: Participants must fill in the details.
- Mandatory - not editable: OpenOlat enters the details from the user profile, participants cannot change them.
Important
With this element, the form assigns the answers to the respondent. The form is therefore no longer anonymous.

Coach details
With the element "Coach details", you record in the form which coach is responsible, for example who supervised an exam. Under "Information", you tick the details the form asks for: first name, last name or email. A form can contain the element more than once, each one is filled in separately.
When filling in, the element shows the button "Apply coach details" above the fields. It lists the coaches of the course. The person who fills in the form selects a coach there, and OpenOlat enters the coach's details from the user profile. The element shows the button in forms that a course uses, for example in the course element "Form" or "Survey".
In the inspector, tab "General", you choose under "Available coaches" whom the button offers: "Coaches" or "Coaches and owners" of the course.
Under "Obligation", you choose one of three variants:
- Optional - can be left blank: The details may stay empty.
- Mandatory - editable: All ticked details must be filled in, by hand or via the button.
- Mandatory - not editable: The details come only via the button. They cannot be changed by hand.
Important
The variant "Mandatory - not editable" needs a course with coaches. If OpenOlat finds none, the element shows the message "There are no coaches available." and the form cannot be finished.
Terms of use
With the element "Terms of use", you add a letter of agreement with a checkbox to the form. Participants tick it before they finish the form. They can save the form in between before that.

Image
With the element "Image", you show an image in the form. If you select the element "Image" under "Add content", OpenOlat first asks you to upload an image file. Then the form editor shows the image with the inspector.

In the inspector, you set how the image appears:
Tab "Style"
- Alignment: position of the image in the layout area
- Image size: scaling of the image
- Style: display, for example with a frame or shadow
- Alert box: display in an alert box
Tab "Title"
- Title: title of the image
- Title position: position of the title, for example above the image or on the image in the middle
- Title style: "Bright" for dark images, "Dark" for bright images
Tab "Display"
- Description: text about the image, which participants open via a small question mark symbol
- Caption: text in a smaller font below the image
Tab "Layout"
- Spacing: distance of the image to the other elements
Separator
The separator is a fine dividing line that structures your form into areas.

Container
A container holds the elements of the form in columns and rows. In the form editor, it is called "Layout": every element sits in a container, and a new form already contains one with one column. You do not add a further container via "Add content" but with the button "Add a new layout".
In the inspector of the container, you set:
- Layout: the layout template, that is the division into columns and rows
- Name: the name by which you select the container in the question rules
- Style: an alert box around the whole container
With a question rule, a container appears only once participants have selected a certain answer in a single or multiple choice. The form editor marks such a container with "Controlled by rule".
How you insert, change and delete containers is described on the page The form editor.
Alert box
With the alert box, you highlight an element, for example an important text or a rubric. The alert box is not an element of its own but a setting in the "Style" tab of many elements such as text, table, image, rubric and terms of use.

If the switch "Alert box" is switched on, you set the following settings.
Type
The type determines which pre-formatted box appears or whether you design the box yourself. The options are:
- Note
- Info
- Tip
- Important
- Warning
- Error
- Success
- Custom: you choose an icon and the background color of the box yourself.
Title
The title appears in the header of the alert box.
With icon
If the option is switched on, the alert box shows an icon at the top left, for example an "i" for the type "Info".
Collapsible
If the option is switched on, participants collapse the box with the symbol at the top right. Then only the title bar is visible. Another click on the symbol opens the box again.
Further information
How do I create a form learning resource?
The form editor
The form element rubric
Question rules in forms