Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Plugin for custom question types

  • eugene_sue
  • eugene_sue's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago - 9 years 9 months ago #109812 by eugene_sue
Plugin for custom question types was created by eugene_sue
Hello,

just switched from older LS version to 2.05.
As a matter of fact, I was using several custom question types, which I've added directly into LS source code. The new version of LS has nice thing called plugins, but the documentation which is provided can't answer my questions and help me to add new question types.So my question is following: is it possible to add custom question types via plugins, and where can I find the information concerning the hooks/events I should extend.

Regards!
Last edit: 9 years 9 months ago by eugene_sue.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 9 months ago #109815 by DenisChenu
Replied by DenisChenu on topic Plugin for custom question types
HI,

The Question type and attribute move in plugin in 2.1, not before.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • eugene_sue
  • eugene_sue's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #109817 by eugene_sue
Replied by eugene_sue on topic Plugin for custom question types
Wow, and how soon will 2.1 be available?
The topic has been locked.
More
8 years 9 months ago #121429 by jrgonzalezrios
Replied by jrgonzalezrios on topic Plugin for custom question types
Hi! I am currently having the same issue. The documentation does not help much... did you guys find any source of information of how to create a new type of questions by a plugin?
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 9 months ago #121437 by Mazi
Replied by Mazi on topic Plugin for custom question types
Currently Limesurvey is missing the required events to create new question types as plugins.

We are working on re-working the underlying code to make question types objects and use inheritance and the like within the code to make it easier maintainable, but there is still a lot of work that needs to be done.

What kind of custom question types are you looking for?
Can you upload screenshots?

Mostly, some JS to adjust the layout and use existing question types does the trick.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
8 years 9 months ago #121514 by jrgonzalezrios
Replied by jrgonzalezrios on topic Plugin for custom question types
Hi! thanks for your response. I am working with the LS remote controll, and basiclly I need that when you add a 'simple line text' with the google maps option, the type displayed in the JSON would be different from 'S'. But with all the logic of a simple line text.

Any ideas?

Thanks!
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 9 months ago #121517 by Mazi
Replied by Mazi on topic Plugin for custom question types
That's something pretty special that can't be done vie the API but requires hacking the source code.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
8 years 9 months ago #121536 by jrgonzalezrios
Replied by jrgonzalezrios on topic Plugin for custom question types
Well actually, you can forget about the google maps option. It will be fine, if I have a 'Short free line text', but with different Type name. Having two 'Short free line text' but one with different type and description. what do you think?
The topic has been locked.
More
6 years 4 days ago #165431 by shivakumarm
Replied by shivakumarm on topic Plugin for custom question types
Hi ,
how you added new question type into LimeSurvey, plz explain me.
The topic has been locked.
More
4 years 10 months ago #184399 by ahtasham82
Replied by ahtasham82 on topic Plugin for custom question types
Is there any update on how to create a new question type. I also would like to create a new question type with 6 options.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184480 by DenisChenu
Replied by DenisChenu on topic Plugin for custom question types
See github.com/tpartner?tab=repositories
For question template sample, not exactly question type , but it's the most near currently.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose