Plugin for custom question types

More
5 years 2 weeks ago - 5 years 2 weeks ago #109812 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: 5 years 2 weeks ago by eugene_sue.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
5 years 2 weeks ago #109815 by DenisChenu
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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
5 years 2 weeks ago #109817 by eugene_sue
Wow, and how soon will 2.1 be available?

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago #121429 by jrgonzalezrios
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?

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago #121437 by Mazi
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
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago #121514 by jrgonzalezrios
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!

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago #121517 by Mazi
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
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago #121536 by jrgonzalezrios
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?

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago #165431 by shivakumarm
Hi ,
how you added new question type into LimeSurvey, plz explain me.

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #184399 by ahtasham82
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.

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #184480 by DenisChenu
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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!