====== Interactivity > Decision Tree > New Slider Question ====== This is one of 4 types of step that can be used for a Decision Tree activity. Two of these require the learner to interact, and their response determines the page they are taken to; one step summarises the decisions that a learner has taken along a pathway; one step presents new information. The Slider Question presents a question, and learners have to respond by moving a slider along a scale. The range along the scale in which the slider is placed determines the page they are taken to. For example, if learners are asked to self assess how much they had spent on buying clothes in the last year, the slider scale can be configured into a number of zones, and the placement of the slider in a specific zone would take them to a specific Step, which might give feedback on their spending against averages. The zones are not displayed to learners, but work in the background. ===== Example demo ===== :!: At present, there is no example of the Slider Question in the Xerte Page Types demo for Decision Tree. {{url>https://xot.xerte.org.uk/xapi_launch.php?template_id=116&group=xertepagetypes#decisiontree 98%,520px no border}} or view at [[https://xot.xerte.org.uk/xapi_launch.php?template_id=116&group=xertepagetypes#decisiontree| Xerte Page Types > Interactivity: Decision Tree]] (opens in new tab). ==== Core properties ==== ^ Property ^ Description ^ Type ^ Additional information ^ | Unique ID | The ID for this step | Text | | | Question | %%This has to be worded as a direct question, or a statement followed by a question.%% | Text+ | Clearly, the question has to be one to which requires a response that can be paced on a scale, e.g. How much time do you spend on ...? How many times did you...? Assess your understanding of everyday spoken French as a percentage of an average interaction. | | Unit of answer | This could be, for example pounds, times, % (see above) | Character/word | Default - "%" | | Minimum value | The value of the starting point on the scale | Number | Default - "0" | | Maximum value | The value of the end point on the scale | Number | Default - "100" | | Increment | Defines the number of positions on the scale that the slider can be moved to. | Number | Default - "1" | | Initial value | This determines the starting point of the slider on the scale | Number | The default, "0", places the starting point for the slider at the extreme left on the scale. If you wanted to the slider to start at the midpoint of the scale, you would, for example, set a Minimum value of 0, Maximum value of 10, and an Initial value of 5. In this case the slider can be moved in either direction. | ==== Optional Properties ==== ^ Property ^ Description ^ Type ^ Additional information ^ | Progress Text | Adds extra text below the Introduction Text. Text will remain on screen throughout subsequent Steps until **Clear Progress Text** (see below) is used. | Text+ | This provides an alternative way to give ongoing feedback through the pathway, instead of using a Result Step | | Clear Progress Text | Clears the Progress Text (see above) | Check box | :?: //Can you have Clear Progress Text and Progress Text enabled in the Step. Would this clear __previous__ Progress Text and replace it with the new Progress Text?// | | More Information | Allows access to extra information through a button and pop-up dialogue | Text+ | | | Unit Position | Should the Unit of answer (e.g. %, £) be placed before or after the number produced by moving the slider ?{Start/**End**} | Drop down | | There are **no Language Options** for this Step. You now have to create "zones" on the scale, each associated with a destination Step. Click on **New Option**. {{ :xerte-inter-decisiontree-newoptionslider.jpg?300 }} ==== New Option (Slider) ==== ^ Property ^ Description ^ Type ^ Additional information ^ | Range minimum | The minimum value of the range of scores sending the learner to the page with the ID below | Number | | | Range maximum | The maximum value of the range of scores sending the learner to the page with the ID below | Number | Remember that for the next New Option the Range __minimum__ will be this number + 1 increment | | Target ID | Select the ID of the destination Step | Drop down | When you plan the activity allocate IDs to all the Steps. Note that an earlier version of this property has been deprecated. | ==== New Option: Optional Properties ==== ^ Property ^ Description ^ Type ^ Additional information ^ | Progress Text | Adds extra text below the Introduction Text. Text will remain on screen throughout subsequent Steps until **Clear Progress Text** (see below) is used. | Text+ | This provides an alternative way to give ongoing feedback through the pathway, instead of using a Result Step | | Clear Progress Text | Clears the Progress Text (see above) | Check box | :?: //Can you have Clear Progress Text and Progress Text enabled in the Step. Would this clear __previous__ Progress Text and replace it with the new Progress Text?// | | Stored Result Text | Stores text associated with this answer for use in the results. This text will only display on result steps where Compile Stored Results (Optional Property) is used | Text+ | FIXME //Where is// //Compile Scored Results//? //Should these OPs be here for an Answer Option, or are they only needed at the Question level?// |