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

TOPIC: Adding Questiontypes

Adding Questiontypes 4 years 9 months ago #68763

  • jelo
  • jelo's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1216
  • Thank you received: 150
  • Karma: 44
When the "Old" 2.0 was the in the making it was often stated that it would be a lot easier to add new questions types comparing to the LS1.X codebase.

What is the situation with the "New" LS2 codebase?
Will it be a plugin concept, which will help "casual" codes to be able to offer new questions types without being a core developer?

As an example I choose this workaround.

This questiontype is similar to a datastructure of an rankingquestion where you can only choose two ranks from n ranks. Additional textlabels for max and min and a radio button layout make the difference.

A freeformat question type could be an alternative to creating many new question-types. How low can the entry barrier become?
The administrator has disabled public write access.

Adding Questiontypes 4 years 9 months ago #68778

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 1008
  • Thank you received: 135
  • Karma: 97
LimeSurvey 2.0 (the new version) is mostly a plain port from LimeSurvey 1. That means that question types are not object-oriented yet and it is not easily possible to add new question types yet.

However it is planned that we will move into that direction step by step. When thy groundwork is done we will certainly move and make question types real objects which you can inherit for your own question type.
Best regards

Carsten Schmitz
LimeSurvey project leader
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.490 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form