Welcome to the LimeSurvey Community Forum

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

Disable question type by global configuration

  • tassoman
  • tassoman's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 month 21 hours ago #268718 by tassoman
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.10
Own server or LimeSurvey hosting: community on premise
Survey theme/template: custom survey template
==================
I remember, in the past, there was a way to disable questions types A B C D ! 1 2 3 by providing an array customization of blacklisted question types to config.php.
Maybe it was version 4.x or maybe was 5.x branch. I can't remember. In previous version 3.x I used to patch directly LS_application.php file.

Now, in 6.x version, I found a class LoadQuestionTypes but I can't understand how can be used.
Considering I don't want upload, gender, yes-no questions to be used, can you tell how to alter config.php?
Thank you in advance

«All your survey answers are belong to us »
The following user(s) said Thank You: tammo

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
4 weeks 23 hours ago #268766 by DenisChenu
Replied by DenisChenu on topic Disable question type by global configuration
You can disable it in themeOptions / Questions
Hide it.

I don't know what's happen when you import.

I din't remind of a way to disable question.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: tassoman

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose