Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

Survey element types

From MoodleDocs

Elements building a survey are divided in two types: "question" or "format".

The semantics which distinguishes between "question" or "format" is that: "question" is the element providing what remote user submitted, "format" is ONLY an aesthetic element.

Questions such as formats differ each other by plugin.

There are some question plugin provided with survey such as a some format plugin too.

So hierarchically a survey is done by:

  • Survey form
    • elements
      • element type questions (shortly called "questions")
        • question plugin 1
        • question plugin 2
        • question plugin ...
      • element type formats (shortly called "formats")
        • format plugin 1
        • format plugin 2
        • format plugin ...

Questions

Formats