Welcome to the LimeSurvey Community Forum

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

Adding own question type, status

More
1 year 5 months ago #220781 by Jmantysalo
Is it possible to add own question type by a plugin? Or what are the plans for this? I found manual.limesurvey.org/Question_object_types but it is almost one year old.

Note: If I asked something and forgot to say version, I am using LS 5.x.
The topic has been locked.
More
1 year 5 months ago #220822 by DenisChenu
Not really,
Currently solution are

- QuestionTheme : update HTML view (and JS) of existing question type
- With plugin : but you can not create a complete DATABASE system : you need to use existing question type … gitlab.com/SondagesPro/QuestionSettingsT...ionSpreadsheetSurvey use a long text questoion type for example.

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.
More
1 year 5 months ago #220825 by Jmantysalo
Thanks. So a plugin could kind of change the type File upload to be a Record your answer -type or Draw your picture -type.

Note: If I asked something and forgot to say version, I am using LS 5.x.
The topic has been locked.
More
1 year 5 months ago #220831 by DenisChenu

Thanks. So a plugin could kind of change the type File upload to be a Record your answer -type or Draw your picture -type.
 
Maybe you can trick UploaderController function and use a QuestionTheme here ?
See : github.com/LimeSurvey/LimeSurvey/blob/c8...rController.php#L121

But yes : a plugin can do the trick too :)

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