I want to create 2 Questionnaire 1 for Student Role and 1 for any other user role.

I want to create 2 Questionnaire 1 for Student Role and 1 for any other user role.

von Imran Patel -
Anzahl Antworten: 4

Hello All,

I want to create 2 Questionnaire  1 for Student Role and 1 for any other user role.

How can i create Questionnaire  For 2 different user role ?

Help me on that

Thank you



Als Antwort auf Imran Patel

Re: I want to create 2 Questionnaire 1 for Student Role and 1 for any other user role.

von Mike Churchward -
Nutzerbild von Core developers Nutzerbild von Plugin developers Nutzerbild von Testers

I think, what you are asking, is how to assign roles to specific instances of a questionnaire? This is the same for any module. You need to assign specific roles to the specific module instance's context (see - https://docs.moodle.org/32/en/Assign_roles#Activity_Module_context).

You will also need to make sure that the other roles you don't want to access have been prevented in the same context.

The capabilities you'll want to assign/deassign for a specific questionnaire are:

  •  mod/questionnaire:view - Ability to see that the questionnaire exists, and the basic information about it.
  • mod/questionnaire:submit - Ability to complete the questionnaire and submit.

mike

Als Antwort auf Mike Churchward

Re: I want to create 2 Questionnaire 1 for Student Role and 1 for any other user role.

von Imran Patel -

Thank you for your quick response.

I want to create 2 different Questionnaire/Survey for 2 different user role. 1 Questionnaire/Survey only for student so all student can see and submit Survey. And next Survey for teacher(or any other type of role) so only teachers roll can see and submit this survey.

Thanks again

Als Antwort auf Imran Patel

Re: I want to create 2 Questionnaire 1 for Student Role and 1 for any other user role.

von Melanie Scott -

I don't really see the problem.  Add groups to the course, one for students and one for teachers.  Set the questionnaire restrict access settings to require a specific group to be visible.