Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Storing data associated with a question type

Storing data associated with a question type 5 years 5 months ago #60849

  • rajend4
  • rajend4's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
I'm trying to understand the database model of lime surveys but I'm confused about how data is stored for each type of question as well as how I can create a custom type of question.

I was hoping someone could walk me though what happens in the database when a question is created for the following scenarios all dealing with the same survey(what tables are affected and how?):

user creates an open text question (1st question to be displayed and answers randomized)

user create a single choice question with 4 answers (2nd question displayed)

user creates a checkbox question with 3 answers (3rd question to display; text box for third answer)

user creates a ranking question with 5 answers to rank

The administrator has disabled public write access.
Time to create page: 0.201 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form