Question types: Combined

Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Picture of Phil ButcherPhil Butcher, at the OU (Perry building)Mahmoud Kassaei
A Moodle question type which allows questions to be built up from parts that are other simpler question types (requires you to have these question types installed)
1037 sites
48 fans
Current versions available: 5

There are working examples in eAssessment with Moodle on our OpenLearn site.

The documentation is in How to create questions in Moodle on that site.

This question types uses other question types as sub questions. It allows you to have one or more entry fields for any of these question types embedded in your question text. You must have at least one of these question types installed for this combined question type to work :

Here is an example of a question where a teacher has combined 1 variable numeric, 1 pmatch, 1 multiple response and 1 select missing word sub question in one combined question.

Example of a combined question



This plugin is part of set Open University.


Screenshot #0


Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Picture of Phil Butcher
Phil Butcher: Question type designer
at the OU (Perry building)
Mahmoud Kassaei: Developer
Picture of Jamie Pratt
Jamie Pratt: Developer
Picture of Chris Nelson
Chris Nelson: Product owner
Please login to view contributors details and/or to contact them

Comments RSS


  • Tim at Lone Pine Koala Sanctuary
    Wed, Oct 1, 2014, 9:10 PM
    It should detect and use whichever other questions types are installed (out of variablenumericset, oumultiresponse, gapselect and pattern match). If it does not do that, I can't think why.

    Can you go to Admin -> Notifications to verify that everything is properly installed. Also check Admin -> Plugins -> Plugins overview.

    Also, turn on DEVELOPER Debugging to see if that gives any helpful error messages.
  • Picture of H Singh
    Sat, Oct 18, 2014, 5:13 PM
    Any chance that I could use this to combine the core essay type with the core calculated type (with wildcards) questions?
  • Picture of Phil Butcher
    Fri, Oct 31, 2014, 1:27 AM
    When we designed the combined question we accepted that we would have to lose some of the functionality of the underlying question types otherwise our authors would be overwhelmed by the form. So although we include the OU's variable numeric as one of the sub-questions it has been stripped of the 'variable' bit. And I think that's what you'd find if you tried to add all features of the underlying sub-questions.
  • Picture of Kim Diana
    Sat, Aug 1, 2015, 3:32 PM
    I tried to apply this type to shortanswer(question type). I did make 'shortanswer' folder into 'combinable' folder. And then copied 'combinablebase.php' file into 'shortanswer' folder mistakenly.... When I tried to make 'combined' question type, I saw error msg(HTTP 500 error). So uninstall Combined question type and Install again! But it doesn't help ! I still see the error message. Please help me how I can fix it. I cannot use this wonderful question type again! (I have already installed pmatch, varnumeriset and varnumeric plugins and they have combinable folder in themselves)
  • Tim at Lone Pine Koala Sanctuary
    Mon, Aug 3, 2015, 3:16 AM
    To fix the error, you need to undo all the changes you made. Did you keep careful notes? Or take a back-up before you started? If you want more help, I suggest you post in the quiz forum
  • Picture of Kim Diana
    Tue, Aug 4, 2015, 10:31 PM
    I uninstalled and install again but it doesn't help. Whenever I click 'Combined' question type to create new question, it shows a blank page...
    I will post on the forum. Thank you Tim
  • Picture of Jarreau Mathys
    Thu, Nov 19, 2015, 10:48 PM
    When will you update for 3.0. It seems to move certain question types around causing errors after plug in instal.
  • Tim at Lone Pine Koala Sanctuary
    Thu, Nov 19, 2015, 11:32 PM
    Ah yes. When the drag-drop question types were added to Moodle core, the 'combinable' bits were removed. We need a new release of the Combined question type to include those bits, in order for it to be 3.0 compatible. Sorry about that. I will try to do it soon.

    Thank you for reporting this problem.
  • Picture of S. Ali
    Fri, Feb 19, 2016, 10:23 PM
    Just wondering if there's an update on the 3.0 compatible version of the Combined question type?
    We were planning to upgrade on Mon but a test upgrade shows that our quizzes with Combined questions will not work so we will need to delay it until a compatible version is available as we use it quite a lot. Hope it can be made available soon.

    Thank you.
  • Tim at Lone Pine Koala Sanctuary
    Fri, Feb 19, 2016, 10:29 PM
    The issue is that in Moodle 3.0, qtype_gapselect was added to the standard Moodle release. As part of that, the 'combinable' folder was removed. (

    I think all you need to do to make this work is to add the combinable folder back to the gapselect type.

    (The proper fix, that will take me a bit loger, is that to basically undo this change:
  • Picture of S. Ali
    Sat, Feb 20, 2016, 2:45 AM
    Hello Tim,

    Thank you Very much for the quick response and the workaround.
    I added the folder as suggested and It's fine now.

  • Tim at Lone Pine Koala Sanctuary
    Fri, Mar 18, 2016, 2:55 AM
    Finally, we have a Moodle 3.0-compatible version of this question type. Sorry it took so long.
  • Picture of S. Ali
    Fri, Mar 18, 2016, 6:51 AM
    Hello Tim,

    Thank you for the update.
    I've tried to install it but it's failing with the following error:
    [Error] Required Moodle version [2015111603]

    I have installed: 1.3 for Moodle 2.6+ [2015051000] running on Moodle 3.0.2+ (Build: 20160218)

    Kind Regards,
  • Tim at Lone Pine Koala Sanctuary
    Fri, Mar 18, 2016, 7:28 AM
    Drat! That is what you get for trying to do things in a rush before leaving work. New version pushed. Hopefully that will work now.
  • Picture of S. Ali
    Fri, Mar 18, 2016, 7:58 AM
    Thank you. Works very well now.
Please login to post comments