Boolean groups
Attributes
The booleangroup
element supports the following attributes:
Attribute | Type | Default | Description |
---|---|---|---|
check |
xs:boolean |
true |
Whether or not the correctness of the user input in this input element should be checked by the player. This is set to true by default. |
defaultpenalty |
xs:nonNegativeInteger |
1 |
Specifies the default penalty of all boolean input fields inside this booleangroup. |
expectedselection |
xs:positiveInteger | None |
none |
When set to a value different to none, this specifies the number of correctly selected boolean inputs in this boolean group that the user has to select in order for the boolean group to count as correct. If this attribute is set to none, the user is expected to select all boolean inputs in the group marked as correct. |
feedback |
InputGroupFeedbackMode |
group |
Whether to give the user only feedback about the correctness of the group result (group) or about all individual boolean fields (detailed). |
maxselection |
xs:positiveInteger | Unbounded |
unbounded |
Maximum number of boolean inputs the user can select in this boolean group and still check his or her results. |
maxtotalcredits |
xs:nonNegativeInteger | Unbounded |
unbounded |
Total maximal number of credit points the user can earn in this boolean group from boolean input fields. |
maxtotalpenalty |
xs:nonNegativeInteger | Unbounded |
unbounded |
Total maximal number of credit points the user can get deducted in this boolean group from boolean input fields. |
minselection |
xs:nonNegativeInteger |
1 |
Minimum number of boolean inputs the user has to select in this boolean group before he or she can check his or her results. |
name |
xs:Name |
- | Name of this element. Must be unique among all element names in this course variant. |
reveal |
xs:nonNegativeInteger |
1 |
Number of failed attempts (checking of an incorrect value) after which the user is allowed to see the content of the solutionhint element associated with this input element. If there is no "solutionhint" element associated to this input element, then the attribute has no effect. |
tags |
TokenList |
Whitespace-separated list of tags of this element. | |
toggle |
xs:boolean |
false |
Whether or not all boolean input fields contained in this boolean group should be displayed as toggleable regions. If there are labels associated to these input fields, then they are part of the toggleable regions. |