Welcome to the LimeSurvey Community Forum

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

Avoid surveyAdmins to create some Question Types

  • tassoman
  • tassoman's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 9 months ago - 1 year 9 months ago #230367 by tassoman
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.28.x
Own server or LimeSurvey hosting: On Premise
Survey theme/template: BootStrap
==================
I was reading beforeSurveyAdminView event, but it's undocumented :|
Maybe doesn't exists anymore? It's listed inside Global Events .

Nowadays I'm using 3.x-LTS version and patching Question Model , by removing the unwanted types.
Inside master branch (5.x), I can see you have QuestionType Model , so I bet You can simply remove a Constant variable.

I'm doing an hardcoded dirty trick. So I ask: is it possible to alter Question Model by Plugin?
Or maybe I can simply remove by javascript/css some types from Question Type form during Question creation?
 

«All your survey answers are belong to us »
Last edit: 1 year 9 months ago by tassoman.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose