Welcome to the LimeSurvey Community Forum

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

default survey group

  • salmanea
  • salmanea's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 weeks 2 days ago #268113 by salmanea
default survey group was created by salmanea
hello.. as administrator I am wondering  how to disable default survey group to be listed in the drop down list when the user want to  create new survey?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 weeks 2 days ago #268115 by tpartner
Replied by tpartner on topic default survey group
You may be able to do this via JavaScript in a custom admin theme. But, you ignored the questions about LimeSurvey version, etc. so we cannot help.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 weeks 1 day ago #268123 by DenisChenu
Replied by DenisChenu on topic default survey group

hello.. as administrator I am wondering  how to disable default survey group to be listed in the drop down list when the user want to  create new survey?
 
Why ? You need a default survey group !

We currently for Default survey group to be available
github.com/LimeSurvey/LimeSurvey/blob/c3...rveysGroups.php#L439
github.com/LimeSurvey/LimeSurvey/blob/c3...urveysGroups.php#L49

Maybe if you want to disable this : you can create a Feature Request.
But need a good reason, what purpose ?

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.

Please Log in to join the conversation.

  • salmanea
  • salmanea's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 weeks 6 days ago #268145 by salmanea
Replied by salmanea on topic default survey group
i have many categories of users and i specific survey group for each group of users and it is work well and i want to force to have all the surveys in the specific survey group that i assigned to that group of users but always Default survey group appears with the other survey group that i assigned.

SO , I need help please to prevent some users to add survey on Default survey group.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 weeks 5 days ago #268157 by DenisChenu
Replied by DenisChenu on topic default survey group
My opinion :
1. start to force Survey Group ID  in beforeSurveySave event : www.limesurvey.org/manual/BeforeModelSave
2. Add a JS solution to remove group ID 1 to the Surey Group list

 

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.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose