====== Interactivity > Answer X of Y ====== Learners are asked to list a required number of items from a longer list of possible answers, e.g. "Name 5 of the 7 noble gases in the periodic table." Variations (e.g. synonyms, abbreviated forms, variations in spelling) can be included, for each item, as acceptable answers. ===== Example demo ===== {{url>https://xot.xerte.org.uk/xapi_launch.php?template_id=116&group=xertepagetypes#answerxofy}} or view at [[https://xot.xerte.org.uk/xapi_launch.php?template_id=116&group=xertepagetypes#answerxofy| Xerte Page Types > Interactivity: Answer X of Y]] (opens in new tab). ===== Editor Interface ===== {{:xerte-inter-answerxofy-editor.jpg?600&direct}} ==== Top Level: Core Properties ==== ^ Property ^ Description ^ Type ^ Additional information ^ | Page Title | Text that appears in header of published page | Text | | | Instruction | Content that appears at the top of the page | Text+ (Toolbar) | Use this to give the context or instructions for the task. Other content (e.g. images, audio, video) can be embedded here. | | Question | Enter a prompt for the task | Text+ (Toolbar) | (e.g. "Name 5 noble gases listed in the periodic table" | | Align Text | Puts all the text in either the left or right panel {**Left**/Right} | Text+ (Toolbar) | | | Panel Width | Dimension of the right panel (gapped text). Choose from {Small/**Medium**/Large/Full}. Full puts the Introductory Text above the gapped text. | Drop down | | | Number of Answers | The number of answer fields shown on the page. Specify a number or enter * to create an answer field for every possible answer. | Drop down | Default: " * ", for example, if you list 7 items but you only require learners to enter 5 of them, enter " 5 " here. | | Case Sensitive | Treat answers as case sensitive | Tick box | Default: Checked | ==== Top Level: Optional Properties ==== === Page-specific === ^ Property ^ Description ^ Type ^ Tooltip ^ | Attempts | Number of attempts before detailed feedback is released | Number | Default - "1" | | Delimiters... | Answer Delimiter separates acceptable variations for an answer | Character | Default - "," | | Feedback | Any additional feedback you want to add. | Text+ (Toolbar) | This feedback is displayed after submission. Oher options for feedback include **Show Answers **(see below) and labels from Language Options. | | Show Answers | Shows all the possible answers when the activity is complete | Tick box | | | Tracking Score Weight | Allows the task on the page to be weighted relative to other scored pages in the project. | Text | See the [[:trackingandweighting|Tracking and Weighting ]]page for more information on weighting. | === General === See [[:optional_properties|General Optional Properties]]. ==== Top Level: Language Options ==== ^ Property ^ Description ^ Type ^ Additional information ^ | Feedback Label | Text on button for checking answers | Text | Default - "Feedback" | | Correct Answers Label | Label at top of list of correct answers | Text | Default -"Correct answers" | | Correct Text | Text displayed when all answers are correct | Text | Default - "Well done, you have completed the activity" | | Incorrect Text | Text displayed when 1 or more answers is incorrect | Text | Default - "Not all of the answers are correct" | | Attempt Label | Shows how many attempts are left - see Optional Properties above | Text | Default - "Attempts remaining" | | Check Button Label | Text on the Submit button | Text | Default - "Submit" | | Answer Field Hidden Aria-Label | A hidden label for screen readers, so that each text field is labelled and spoken as Answer 1, Answer 2 etc | Text | Default - "Answer" | Add **New Answer **to list the first acceptable answer (and any acceptable variations of the at answer). {{ :xerte-inter-answerxofy-newanswer.jpg?400 }} ==== Answer : Core Properties ==== ^ Property ^ Description ^ Type ^ Additional information ^ | Label | The Label is for the author, and only appears in the authoring interface | Text | Default: "Answer" (this can be left as is) | | Answer | Enter here your first correct answer and any acceptable variations. | Text | The default delimiter for variations is "," for example "Manchester United, manchester united, Man Utd, man utd" | There are **no Optional Properties **or **Language Options** for Answers. ===== Further information ===== This page can be tracked. This page is very useful if you are creating an escape room task and you need to set a password. You set up the page so there is one answer option, and set the hints at a high number. {{tag>pagetype interactivity}}