Forum Discussion
How to require text entry
Hi Alyssa,
I think that Elizabeth is suggesting that she simply wants to add a text box to captures some user input, before allowing them to move on. I am doing a similar thing in my course, where I ask students to explain 'how play is different to games' (in their own words). It's a reflective activity, so no really correct/incorrect answers.
Checking that text has been entered into a text field can be achieved using variables and triggers as Matthew and Adam Mac proposed, but I'm going to elaborate on Thomas' (and your) answer a little and pull in some of Matthew's work.
Validate a textfield (without requiring an 'Acceptable' answer)
- Add text field and Submit button to your slide
- Convert slide to Free-form
- pop to 'Form View'
- Enable feedback if you want to give it (most likely you will)
- Require 'User Must answer'
- Results Slide (up to you) or you can do this on a layer etc
- Score 'None' (this removes the 'Enter Acceptable Answers' fields)
- Test!
Displaying the user's textfield input back to them
If you want to display the user's input back to them, do as Matthew suggested:
- Define a variable to store the user's textfield input e.g. screenID_textField%
- Ensure the variable is set to 'text' and don't set a default value
- Type "screenID_textField%" in the layer, or area of the screen that you wish to display it e.g.
Although there is no right or wrong answer, it is interesting that you think "screenID_textField%" about this topic.
Great for reflective questions with no right or wrong answers, and want to provide a sense of user interaction/dialogue.
Cheers!
Jim
Related Content
- 6 months ago
- 10 years ago